diff --git a/files/get_cert.sh b/files/get_cert.sh index 38e8581..b6a6f85 100755 --- a/files/get_cert.sh +++ b/files/get_cert.sh @@ -6,7 +6,7 @@ eval "$(jq -r '@sh "PUBKEY=\(.pubkey) HOST=\(.host) CAHOST=\(.cahost) CASCRIPT=\ # TODO: Can this be done more eye-pleasingly? set +e -CERT=$(ssh -o ConnectTimeout=3 -o ConnectionAttempts=1 root@$CAHOST '"'"$CASCRIPT"'" "'"$CAKEY"'" host "'"$PUBKEY"'" "'"$HOST"'".dmz') +CERT=$(ssh -o ConnectTimeout=3 -o ConnectionAttempts=1 root@$CAHOST '"'"$CASCRIPT"'" host "'"$CAKEY"'" "'"$PUBKEY"'" "'"$HOST"'".dmz') retval=$? set -e