diff --git a/certbotd.sh b/certbotd.sh index 533847c..41102d0 100755 --- a/certbotd.sh +++ b/certbotd.sh @@ -111,8 +111,8 @@ case $1 in remove_certificate "${domain}" fi else - not_ok "${domain} certificate doesn't exist, removing" - remove_certificate "${domain}" + not_ok "${dir} certificate doesn't exist, removing" + remove_certificate "${dir}" fi done fi