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
52351d7d
Unverified
Commit
52351d7d
authored
Mar 13, 2018
by
martgras
Committed by
GitHub
Mar 13, 2018
Browse files
avoid side effects in _printargs
A possible fix for
https://github.com/Neilpang/acme.sh/issues/1356
parent
a5a0e564
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
52351d7d
...
...
@@ -139,6 +139,7 @@ __red() {
}
_printargs
()
{
local
_exitstatus
=
"
$?
"
if
[
-z
"
$NO_TIMESTAMP
"
]
||
[
"
$NO_TIMESTAMP
"
=
"0"
]
;
then
printf
--
"%s"
"[
$(
date
)
] "
fi
...
...
@@ -148,6 +149,8 @@ _printargs() {
printf
--
"%s"
"
$1
='
$2
'"
fi
printf
"
\n
"
# return the saved exit status
return
"
$_exitstatus
"
}
_dlg_versions
()
{
...
...
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