fix: remove the dir
This commit is contained in:
parent
d92d09d04f
commit
6abce5891b
1 changed files with 2 additions and 2 deletions
|
@ -111,8 +111,8 @@ case $1 in
|
||||||
if grep -q "^${domain}$" "${domains}"; then
|
if grep -q "^${domain}$" "${domains}"; then
|
||||||
echo "ok - ${domain} certificate correctly set"
|
echo "ok - ${domain} certificate correctly set"
|
||||||
else
|
else
|
||||||
not_ok "${domain} certificate is not needed anymore, removing"
|
not_ok "${dir} certificate is not needed anymore, removing"
|
||||||
remove_certificate "${domain}"
|
remove_certificate "${dir}"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
not_ok "${dir} certificate doesn't exist, removing"
|
not_ok "${dir} certificate doesn't exist, removing"
|
||||||
|
|
Loading…
Reference in a new issue