Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
ec0538d2
Unverified
Commit
ec0538d2
authored
Apr 29, 2021
by
neil
Committed by
GitHub
Apr 29, 2021
Browse files
Merge pull request #3455 from ecm75/notify_fix
fix _exists error message if MAIL_BIN env variable is not set
parents
509d3f6d
eb0c629f
Changes
1
Hide whitespace changes
Inline
Side-by-side
notify/mail.sh
View file @
ec0538d2
...
@@ -79,7 +79,7 @@ mail_send() {
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment