From a2970fcae78b9973c20bdcb78a8a4ec0170aac93 Mon Sep 17 00:00:00 2001 From: tv Date: Wed, 20 May 2015 21:34:24 +0200 Subject: lib/cac.sh cac_listservers: return maybe data --- networking-configuration | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'networking-configuration') diff --git a/networking-configuration b/networking-configuration index b9725c7e1..2cae39663 100755 --- a/networking-configuration +++ b/networking-configuration @@ -23,7 +23,7 @@ main() { listservers=$(cac_listservers) config=$(echo $listservers \ - | jq -r ".data|map(select(.servername == \"$cac_servername\"))[]") + | jq -r ".[]|select(.servername==\"$cac_servername\")") print_networking_configuraton "$config" } -- cgit v1.2.3