|
|
|
|
@ -53,7 +53,7 @@ send_log_mail() {
@@ -53,7 +53,7 @@ send_log_mail() {
|
|
|
|
|
shift 2 |
|
|
|
|
|
|
|
|
|
if [ -n "${MAILPROG:-}" ] && [ -n "${LOGMAIL:-}" ]; then |
|
|
|
|
$MAILPROG -s "$subject" "$@" "$LOGMAIL" <"$body_file" |
|
|
|
|
$MAILPROG -s "$subject" "$@" $LOGMAIL <"$body_file" |
|
|
|
|
fi |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@ -72,7 +72,7 @@ send_error_mail() {
@@ -72,7 +72,7 @@ send_error_mail() {
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
if [ -n "${MAILPROG:-}" ] && [ -n "$recipient" ]; then |
|
|
|
|
$MAILPROG -s "$subject" "$@" "$recipient" <"$body_file" |
|
|
|
|
$MAILPROG -s "$subject" "$@" $recipient <"$body_file" |
|
|
|
|
fi |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|