Browse Source

minor, fix error message

pull/311/head
neil 8 years ago
parent
commit
65de3110a9
  1. 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…
Cancel
Save