Browse Source

acme: Handle log message correctly

Error was:
  logger: unrecognized option: renew

Signed-off-by: David Yang <mmyangfl@gmail.com>
lilik-openwrt-22.03
David Yang 5 years ago
parent
commit
6a4c1b2051
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      net/acme/files/run.sh

+ 3
- 3
net/acme/files/run.sh View File

@ -32,17 +32,17 @@ check_cron()
log() log()
{ {
logger -t acme -s -p daemon.info "$@"
logger -t acme -s -p daemon.info -- "$@"
} }
err() err()
{ {
logger -t acme -s -p daemon.err "$@"
logger -t acme -s -p daemon.err -- "$@"
} }
debug() debug()
{ {
[ "$DEBUG" -eq "1" ] && logger -t acme -s -p daemon.debug "$@"
[ "$DEBUG" -eq "1" ] && logger -t acme -s -p daemon.debug -- "$@"
} }
get_listeners() { get_listeners() {


Loading…
Cancel
Save