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
65de3110
Commit
65de3110
authored
Sep 28, 2016
by
neil
Browse files
minor, fix error message
parent
150e9c8a
Changes
1
Show whitespace changes
Inline
Side-by-side
acme.sh
View file @
65de3110
...
@@ -104,13 +104,19 @@ _info() {
...
@@ -104,13 +104,19 @@ _info() {
_err
()
{
_err
()
{
_log
"
$@
"
_log
"
$@
"
__red
"
$(
_printargs
"
$@
"
)
"
>
&2
printf
--
"[
$(
date
)
] "
>
&2
if
[
-z
"
$2
"
]
;
then
__red
"
$1
"
>
&2
else
__red
"
$1
='
$2
'"
>
&2
fi
printf
"
\n
"
>
&2
printf
"
\n
"
>
&2
return
1
return
1
}
}
_usage
()
{
_usage
()
{
__red
"
$@
"
__red
"
$@
"
>
&2
printf
"
\n
"
>
&2
}
}
...
...
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