From 4fae1fdb0d2b7769a8ba6468eee79d109c00d8ab Mon Sep 17 00:00:00 2001 From: tv Date: Wed, 20 May 2015 21:26:55 +0200 Subject: lib/cac.sh cac_listservers: check response status --- networking-configuration | 8 -------- 1 file changed, 8 deletions(-) (limited to 'networking-configuration') diff --git a/networking-configuration b/networking-configuration index 4b7a85d..b9725c7 100755 --- a/networking-configuration +++ b/networking-configuration @@ -22,14 +22,6 @@ hostname=$2 main() { listservers=$(cac_listservers) - listserversstatus=$(echo $listservers | jq -r .status) - case $listserversstatus in - ok) : ;; - *) - echo $0: bad listservers status: $listserversstatus >&2 - exit 1 - esac - config=$(echo $listservers \ | jq -r ".data|map(select(.servername == \"$cac_servername\"))[]") -- cgit v1.2.3