diff --git a/setup.sh b/setup.sh index c254148..690f945 100755 --- a/setup.sh +++ b/setup.sh @@ -289,7 +289,7 @@ if [ "${useCertbot}" -eq 1 ]; then fi # Generate paths from CertbotDomain -if [ "${CertbotDomain}" -eq 1 ]; then +if [ -n "${CertbotDomain}" ]; then CertPath="/etc/letsencrypt/live/${CertbotDomain}/fullchain.pem" KeyPath="/etc/letsencrypt/live/${CertbotDomain}/privkey.pem" CAChainPath="/etc/letsencrypt/live/${CertbotDomain}/chain.pem"