Merge 5cb1b777b25985be233d59c1ac9d00b9b32606bc into 40b6db6a2715628aa977ed1853fe5256704010ae

This commit is contained in:
Evgeny 2025-04-03 04:11:31 +02:00 committed by GitHub
commit c121bdbd86
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6806,6 +6806,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