From 6e0b7cfd62770a67ab7cf3165997005fa9b72490 Mon Sep 17 00:00:00 2001 From: bryan Date: Sat, 1 Aug 2020 20:46:00 -0400 Subject: [PATCH] Fix derp --- acme-cpanel.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/acme-cpanel.sh b/acme-cpanel.sh index e63f5ad..ece59ea 100755 --- a/acme-cpanel.sh +++ b/acme-cpanel.sh @@ -22,8 +22,6 @@ # NOTE: The webroot method does NOT support wildcard domains, Let's Encrypt requires wildcard domains to # use DNS challenges, which the CPANEL uapi does not support (use dns_cpaneldns plugin instead) -source functions.sh - unset SITES_DIR USEREMAIL DOMAIN_FILES DOMAIN_GROUPS DEPLOY_CMD_PREFIX ISSUE_CMD_PREFIX DEBUG GROUP DEBUG="true" # quote this line to stop DEBUG mode and issue certificates for real, or use --force in user options @@ -167,6 +165,7 @@ issue_and_deploy_certs() { echo "Running:" "${issue_cmd[@]}" if ! "${issue_cmd[@]}"; then echo "Failed to issue certificate" + fi # Deploy certificates one by one for domain in $domain_group; do deploy_cmd=("${DEPLOY_CMD_PREFIX[@]}" "-w" "$domain_root" "-d" "$domain")