From 6abce5891bfc13a5a44a03fe2e3ebef4cc4853a9 Mon Sep 17 00:00:00 2001 From: f Date: Sat, 28 Dec 2024 17:53:42 -0300 Subject: [PATCH] fix: remove the dir --- certbotd.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/certbotd.sh b/certbotd.sh index ac6c0cd..8a98393 100755 --- a/certbotd.sh +++ b/certbotd.sh @@ -111,8 +111,8 @@ case $1 in if grep -q "^${domain}$" "${domains}"; then echo "ok - ${domain} certificate correctly set" else - not_ok "${domain} certificate is not needed anymore, removing" - remove_certificate "${domain}" + not_ok "${dir} certificate is not needed anymore, removing" + remove_certificate "${dir}" fi else not_ok "${dir} certificate doesn't exist, removing"