change CertbotDomain path generate to string test

This commit is contained in:
Asif Bacchus 2019-01-07 23:03:43 -07:00
parent 7c45a84d69
commit 7fdd38d3e4
1 changed files with 1 additions and 1 deletions

View File

@ -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"