fix mail message

This commit is contained in:
Louis Abel 2023-09-08 02:20:41 -07:00
parent 2f4577e554
commit 31bef30bb4
Signed by: label
GPG Key ID: B37E62D143879B36

View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
source "$(dirname "$0")/common-8" source "$(dirname "$0")/common-8"
TARGET_DIR="/mnt/compose/8-LookAhead" TARGET_DIR="/mnt/compose/8-BETA"
SHORT=Extras SHORT=Extras
CONFIG=/etc/pungi-beta/extras-beta.conf CONFIG=/etc/pungi-beta/extras-beta.conf
# Unused for now # Unused for now
@ -21,7 +21,7 @@ ret_val=$?
if [[ "$ret_val" != "0" ]]; then if [[ "$ret_val" != "0" ]]; then
if [[ "$MAILNOTIF" == "yes" ]]; then if [[ "$MAILNOTIF" == "yes" ]]; then
echo "This is a notification that a recent lookahead $SHORT compose failed on $(hostname)" | mutt -e "set from=\"$FROM\"" \ echo "This is a notification that a recent beta $SHORT compose failed on $(hostname)" | mutt -e "set from=\"$FROM\"" \
-e 'set envelope_from=yes' \ -e 'set envelope_from=yes' \
-s "Compose $NEWCOMPOSE_ID failed (for Rocky Linux $REVISION)" \ -s "Compose $NEWCOMPOSE_ID failed (for Rocky Linux $REVISION)" \
releng@rockylinux.org releng@rockylinux.org