From 620b1ca2a1dca77cb62d8122107aae12c967c80e Mon Sep 17 00:00:00 2001 From: Matthew Saunders Brown Date: Wed, 8 Jan 2025 10:55:46 -0800 Subject: [PATCH] fix if letsencrypt-deploy.path is-enabled check --- bin/letsencrypt-add.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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