mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-26 06:52:37 +00:00
minor, fix error message
This commit is contained in:
parent
150e9c8a48
commit
65de3110a9
10
acme.sh
10
acme.sh
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user