From 7a88b43825e11560ffea1ffce12a15fc2247306a Mon Sep 17 00:00:00 2001 From: Dennis Koot Date: Thu, 28 Jan 2016 16:02:17 +0100 Subject: [PATCH] reload-cmd-fix --- getssl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/getssl b/getssl index 7dfa330..9b9d8ea 100755 --- a/getssl +++ b/getssl @@ -702,7 +702,7 @@ fi if [ ! -z "$RELOAD_CMD" ]; then info "reloading SSL services" - if [[ "${ACL[$dn]:0:4}" == "ssh:" ]] ; then + if [[ "${RELOAD_CMD:0:4}" == "ssh:" ]] ; then sshhost=$(echo "$RELOAD_CMD"| awk -F: '{print $2}') command=${RELOAD_CMD:(( ${#sshhost} + 5))} debug "running following comand to reload cert"