From ab7bf3a1e100875f6341b6bec24849ccf105b1fa Mon Sep 17 00:00:00 2001 From: gyurix Date: Thu, 3 Nov 2022 10:53:25 +0000 Subject: [PATCH] Fixing validity error --- scripts/check_certificates.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/check_certificates.sh b/scripts/check_certificates.sh index b1594fc..24d401d 100755 --- a/scripts/check_certificates.sh +++ b/scripts/check_certificates.sh @@ -102,7 +102,7 @@ if [ "$GENERATE_CERTIFICATE" == "true" ]; then CURL_CHECK="curl -s -o /dev/null -w "%{http_code}" https://$LETSENCRYPT_URL"; - if [[ "$(eval $CURL_CHECK)" != "200" ]] ; then + if [[ "$(eval $CURL_CHECK)" == "200" ]] ; then file="$DOMAIN_CERT_DIR/letsencrypt" {