mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-04-29 22:52:43 +00:00
Exit from renew-all
with error if $CERT_HOME
is not a directory
This commit is contained in:
parent
f7f1168aad
commit
ec3539e81a
4
acme.sh
4
acme.sh
@ -5469,6 +5469,10 @@ renewAll() {
|
||||
_set_level=${NOTIFY_LEVEL:-$NOTIFY_LEVEL_DEFAULT}
|
||||
_debug "_set_level" "$_set_level"
|
||||
export _ACME_IN_RENEWALL=1
|
||||
if ! [ -d "${CERT_HOME}" ]; then
|
||||
_err "${CERT_HOME} is not a directory"
|
||||
return 1
|
||||
fi
|
||||
for di in "${CERT_HOME}"/*.*/; do
|
||||
_debug di "$di"
|
||||
if ! [ -d "$di" ]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user