From a286450d0ab62fb3bb11389b262f425c8d25d863 Mon Sep 17 00:00:00 2001 From: Pim Kunis Date: Tue, 25 Apr 2023 18:51:58 +0200 Subject: [PATCH] fix command argument ordering --- files/get_cert.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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