Merge 5cb1b777b25985be233d59c1ac9d00b9b32606bc into 3d8b682380773f01df0e5abc2ef582c30c663010

This commit is contained in:
Evgeny 2025-06-08 15:09:16 +00:00 committed by GitHub
commit cfda6767d5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6813,6 +6813,11 @@ _send_notify() {
_nhooks="$3"
_nerror="$4"
if [ ! -z "$MAIL_SUBJECT_SUFFIX" ]; then
_nsubject="$_nsubject $MAIL_SUBJECT_SUFFIX"
_debug "The MAIL_SUBJECT_SUFFIX is $MAIL_SUBJECT_SUFFIX."
fi
if [ "$NOTIFY_LEVEL" = "$NOTIFY_LEVEL_DISABLE" ]; then
_debug "The NOTIFY_LEVEL is $NOTIFY_LEVEL, which means it's disabled, so will just return."
return 0