summaryrefslogtreecommitdiffstats
path: root/bin/cac-ssh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/cac-ssh')
-rwxr-xr-xbin/cac-ssh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/cac-ssh b/bin/cac-ssh
index a0ec5dcf3..e01f76b10 100755
--- a/bin/cac-ssh
+++ b/bin/cac-ssh
@@ -1,7 +1,7 @@
#! /bin/sh
set -euf
-server=$1
+server=$(json-assert-type object "$1")
shift
address=$(echo $server | jq -r .ip)