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()
{
logger -t acme -s -p daemon.info "$@"
logger -t acme -s -p daemon.info -- "$@"
}
err()
{
logger -t acme -s -p daemon.err "$@"
logger -t acme -s -p daemon.err -- "$@"
}
debug()
{
[ "$DEBUG" -eq "1" ] && logger -t acme -s -p daemon.debug "$@"
[ "$DEBUG" -eq "1" ] && logger -t acme -s -p daemon.debug -- "$@"
}
get_listeners() {


Loading…
Cancel
Save