Honza Hommer
6 years ago
No known key found for this signature in database
GPG Key ID: 5EBDE8E7E1A00ACA
1 changed files with
2 additions and
2 deletions
-
notify/mail.sh
|
|
@ -72,7 +72,7 @@ mail_send() { |
|
|
|
|
|
|
|
_mail_cmnd() { |
|
|
|
if [ -n "$MAIL_BIN" ]; then |
|
|
|
_MAIL_BIN=$(basename "$MAIL_BIN") |
|
|
|
_MAIL_BIN="$MAIL_BIN" |
|
|
|
elif _exists "sendmail"; then |
|
|
|
_MAIL_BIN="sendmail" |
|
|
|
elif _exists "ssmtp"; then |
|
|
@ -86,7 +86,7 @@ _mail_cmnd() { |
|
|
|
return 1 |
|
|
|
fi |
|
|
|
|
|
|
|
case "$_MAIL_BIN" in |
|
|
|
case $(basename "$_MAIL_BIN") in |
|
|
|
sendmail) |
|
|
|
if [ -n "$MAIL_FROM" ]; then |
|
|
|
echo "'$_MAIL_BIN' -f '$MAIL_FROM' '$MAIL_TO'" |
|
|
|