martgras
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
1 deletions
-
acme.sh
|
|
@ -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() { |
|
|
|