summaryrefslogtreecommitdiffstats
path: root/infest
diff options
context:
space:
mode:
Diffstat (limited to 'infest')
-rwxr-xr-xinfest2
1 files changed, 1 insertions, 1 deletions
diff --git a/infest b/infest
index f2ccd12f5..c6d509a50 100755
--- a/infest
+++ b/infest
@@ -22,7 +22,7 @@ main() {
listservers=$(cac_listservers)
config=$(echo $listservers \
- | jq -r ".data|map(select(.servername == \"$cac_servername\"))[]")
+ | jq -r ".[]|select(.servername==\"$cac_servername\")")
serverstatus=$(echo $config | jq -r .status)
case $serverstatus in