Browse Source

Anpassungen für mehrere Empfänger

master
Andre Knieschewski 6 days ago
parent
commit
435d10643d
  1. 4
      update/hisinone_bi_qisserver/modules_update.sh
  2. 4
      upgrade/hisinone_bi_qisserver/modules_upgrade.sh

4
update/hisinone_bi_qisserver/modules_update.sh

@ -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
}

4
upgrade/hisinone_bi_qisserver/modules_upgrade.sh

@ -56,7 +56,7 @@ send_log_mail() { @@ -56,7 +56,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
}
@ -75,7 +75,7 @@ send_error_mail() { @@ -75,7 +75,7 @@ send_error_mail() {
fi
if [ -n "${MAILPROG:-}" ] && [ -n "$recipient" ]; then
$MAILPROG -s "$subject" "$@" "$recipient" <"$body_file"
$MAILPROG -s "$subject" "$@" $recipient <"$body_file"
fi
}

Loading…
Cancel
Save