bryan 4 lat temu
rodzic
commit
6e0b7cfd62
1 zmienionych plików z 1 dodań i 2 usunięć
  1. 1 2
      acme-cpanel.sh

+ 1 - 2
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")