mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-26 15:02:03 +00:00
Merge pull request #3455 from ecm75/notify_fix
fix _exists error message if MAIL_BIN env variable is not set
This commit is contained in:
commit
ec0538d251
@ -79,7 +79,7 @@ mail_send() {
|
|||||||
_mail_bin() {
|
_mail_bin() {
|
||||||
_MAIL_BIN=""
|
_MAIL_BIN=""
|
||||||
|
|
||||||
for b in "$MAIL_BIN" sendmail ssmtp mutt mail msmtp; do
|
for b in $MAIL_BIN sendmail ssmtp mutt mail msmtp; do
|
||||||
if _exists "$b"; then
|
if _exists "$b"; then
|
||||||
_MAIL_BIN="$b"
|
_MAIL_BIN="$b"
|
||||||
break
|
break
|
||||||
|
Loading…
Reference in New Issue
Block a user