remove directory check

This commit is contained in:
rootzoll 2020-07-18 16:29:58 +02:00
parent 244b2c5ce1
commit 3c4b3179e2

View File

@ -126,11 +126,6 @@ function refresh_certs_with_nginx() {
return
fi
if [ ! -d "${ACME_CERT_HOME}" ]; then
echo "# no cert directory to link: ${ACME_CERT_HOME}"
return
fi
certsDirectories=$(sudo ls ${ACME_CERT_HOME})
directoryArray=(`echo "${certsDirectories}" | tr ' ' ' '`)
for i in "${directoryArray[@]}"; do