diff --git a/bin/letsencrypt-add.sh b/bin/letsencrypt-add.sh index a3e9563..faf4713 100755 --- a/bin/letsencrypt-add.sh +++ b/bin/letsencrypt-add.sh @@ -59,7 +59,8 @@ if [[ -f /etc/ssl/letsencrypt/$domain.pem ]]; then fi # check that letsencrypt-deploy.path is enabled -if [[ ! systemctl --quiet is-enabled letsencrypt-deploy.path ]]; then +if ! systemctl --quiet is-enabled letsencrypt-deploy.path +then echo "letsencrypt-deploy.path is not enabled." exit 1 fi