refactor(templates): replace "! -z" with "-n" for better readability

This commit is contained in:
emrah
2026-02-12 17:40:45 +03:00
committed by Saúl Ibarra Corretgé
parent 659e2e88f4
commit 0e4bf5ed1a
7 changed files with 11 additions and 11 deletions

View File

@@ -21,7 +21,7 @@ if [[ $DISABLE_HTTPS -ne 1 ]]; then
fi
ACME_SERVER=""
if [[ ! -z $LETSENCRYPT_ACME_SERVER ]]; then
if [[ -n $LETSENCRYPT_ACME_SERVER ]]; then
ACME_SERVER="--set-default-ca --server $LETSENCRYPT_ACME_SERVER"
echo "Using custom ACME server: $LETSENCRYPT_ACME_SERVER"
fi