diff --git a/update/hisinone_bi_qisserver/modules_update.sh b/update/hisinone_bi_qisserver/modules_update.sh index e1808fe..ba4e506 100755 --- a/update/hisinone_bi_qisserver/modules_update.sh +++ b/update/hisinone_bi_qisserver/modules_update.sh @@ -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() { fi if [ -n "${MAILPROG:-}" ] && [ -n "$recipient" ]; then - $MAILPROG -s "$subject" "$@" "$recipient" <"$body_file" + $MAILPROG -s "$subject" "$@" $recipient <"$body_file" fi } diff --git a/upgrade/hisinone_bi_qisserver/modules_upgrade.sh b/upgrade/hisinone_bi_qisserver/modules_upgrade.sh index 0d192eb..c0c4fe8 100755 --- a/upgrade/hisinone_bi_qisserver/modules_upgrade.sh +++ b/upgrade/hisinone_bi_qisserver/modules_upgrade.sh @@ -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() { fi if [ -n "${MAILPROG:-}" ] && [ -n "$recipient" ]; then - $MAILPROG -s "$subject" "$@" "$recipient" <"$body_file" + $MAILPROG -s "$subject" "$@" $recipient <"$body_file" fi }