summaryrefslogtreecommitdiffstats
path: root/lib/cac.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lib/cac.sh')
-rw-r--r--lib/cac.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/cac.sh b/lib/cac.sh
index 7ed06012a..482e4ddea 100644
--- a/lib/cac.sh
+++ b/lib/cac.sh
@@ -4,7 +4,7 @@ cac_listservers() {(
listservers=$(_cac_get_api_v1 listservers)
status=$(echo "$listservers" | jq -r .status)
if [ "$status" = ok ]; then
- echo "$listservers"
+ echo "$listservers" | jq -r .data
else
echo "$0: bad listservers status: $status" >&2
exit 1