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
5b3e3d9c
Commit
5b3e3d9c
authored
Apr 30, 2017
by
neilpang
Browse files
fix
https://github.com/Neilpang/acme.sh/issues/812
parent
3f1a76d9
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
5b3e3d9c
...
...
@@ -166,7 +166,14 @@ _syslog() {
fi
_logclass
=
"
$1
"
shift
logger
-i
-t
"
$PROJECT_NAME
"
-p
"
$_logclass
"
"
$(
_printargs
"
$@
"
)
"
>
/dev/null 2>&1
if
[
-z
"
$__logger_i
"
]
;
then
if
_contains
"
$(
logger
--help
2>&1
)
"
"-i"
;
then
__logger_i
=
"logger -i"
else
__logger_i
=
"logger"
fi
fi
$__logger_i
-t
"
$PROJECT_NAME
"
-p
"
$_logclass
"
"
$(
_printargs
"
$@
"
)
"
>
/dev/null 2>&1
}
_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