From 952ea06725c8bf518955f2e5c42385573c1e6912 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 --- infest | 8 -------- 1 file changed, 8 deletions(-) (limited to 'infest') diff --git a/infest b/infest index 255ba2422..f2ccd12f5 100755 --- a/infest +++ b/infest @@ -21,14 +21,6 @@ nix_find_sha1sum=86f8775bd4f0841edd4c816df861cebf509d58c3 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