Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
9a7c9e8d
Unverified
Commit
9a7c9e8d
authored
May 18, 2019
by
Honza Hommer
Browse files
remove unset
parent
fc5e3a0a
Changes
1
Hide whitespace changes
Inline
Side-by-side
notify/mail.sh
View file @
9a7c9e8d
...
@@ -14,8 +14,6 @@ mail_send() {
...
@@ -14,8 +14,6 @@ mail_send() {
_debug
"_content"
"
$_content
"
_debug
"_content"
"
$_content
"
_debug
"_statusCode"
"
$_statusCode
"
_debug
"_statusCode"
"
$_statusCode
"
unset
-f
_MAIL_BIN _MAIL_BODY _MAIL_CMD
MAIL_BIN
=
"
${
MAIL_BIN
:-
$(
_readaccountconf_mutable MAIL_BIN
)
}
"
MAIL_BIN
=
"
${
MAIL_BIN
:-
$(
_readaccountconf_mutable MAIL_BIN
)
}
"
if
[
-n
"
$MAIL_BIN
"
]
&&
!
_exists
"
$MAIL_BIN
"
;
then
if
[
-n
"
$MAIL_BIN
"
]
&&
!
_exists
"
$MAIL_BIN
"
;
then
_err
"It seems that the command
$MAIL_BIN
is not in path."
_err
"It seems that the command
$MAIL_BIN
is not in path."
...
...
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