summaryrefslogtreecommitdiffstats
path: root/networking-configuration
diff options
context:
space:
mode:
authortv <tv@shackspace.de>2015-05-20 21:26:55 +0200
committertv <tv@shackspace.de>2015-05-20 21:26:55 +0200
commit952ea06725c8bf518955f2e5c42385573c1e6912 (patch)
tree02857c0b284c8618af38677c4cb66fe84e1bf1b7 /networking-configuration
parent4c00375cb29ce6780f66c158011046fd4679f2e8 (diff)
lib/cac.sh cac_listservers: check response status
Diffstat (limited to 'networking-configuration')
-rwxr-xr-xnetworking-configuration8
1 files changed, 0 insertions, 8 deletions
diff --git a/networking-configuration b/networking-configuration
index 4b7a85d2b..b9725c7e1 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\"))[]")