diff options
| -rw-r--r-- | lfacme.sh.in | 2 | ||||
| -rw-r--r-- | renew.sh.in | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/lfacme.sh.in b/lfacme.sh.in index fc29e3d..27a6cf1 100644 --- a/lfacme.sh.in +++ b/lfacme.sh.in @@ -17,6 +17,8 @@ while :; do shift; shift;; -v) LFACME_VERBOSE=1 + # Export this so it's available to hooks. + export LFACME_VERBOSE shift;; -y) _uacme_flags="$_uacme_flags $1" diff --git a/renew.sh.in b/renew.sh.in index de46bb0..357538c 100644 --- a/renew.sh.in +++ b/renew.sh.in @@ -226,8 +226,7 @@ _docert() { # so run the hooks. for hook in $_rhooks; do _verbose "running hook: %s" "$hook" - env "LFACME_VERBOSE=${LFACME_VERBOSE}" \ - "LFACME_CERT=${identifier}" \ + env "LFACME_CERT=${identifier}" \ "LFACME_KEYFILE=${keyfile}" \ "LFACME_CERTFILE=${certfile}" \ "$hook" newcert |
