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
65a7d569
Unverified
Commit
65a7d569
authored
Mar 14, 2018
by
martgras
Committed by
GitHub
Mar 14, 2018
Browse files
remove local keyword
parent
52351d7d
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
65a7d569
...
...
@@ -139,7 +139,7 @@ __red() {
}
_printargs() {
local
_exitstatus
=
"
$?
"
_exitstatus="$?"
if [ -z "$NO_TIMESTAMP" ] || [ "$NO_TIMESTAMP" = "0" ]; then
printf -- "%s" "[$(date)] "
fi
...
...
@@ -186,6 +186,7 @@ _dlg_versions() {
#class
_syslog() {
_exitstatus="$?"
if [ "${SYS_LOG:-$SYSLOG_LEVEL_NONE}" = "$SYSLOG_LEVEL_NONE" ]; then
return
fi
...
...
@@ -199,6 +200,7 @@ _syslog() {
fi
fi
$__logger_i -t "$PROJECT_NAME" -p "$_logclass" "$(_printargs "$@")" >/dev/null 2>&1
return "$_exitstatus"
}
_log() {
...
...
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