summaryrefslogtreecommitdiffstats
path: root/bin/cac-listservers
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2015-06-24 14:36:59 +0200
committertv <tv@krebsco.de>2015-06-24 15:01:23 +0200
commit63ba96c32e00ef9b1337e061f75f6940511ca27c (patch)
treedb07acb0a8baa7ee67460e1743461a06a87c0adc /bin/cac-listservers
parentbbe9be34efb1fca7d4f9df1812372ff891f83ca7 (diff)
rewrite infest-cac-CentOS-7-64bit
Diffstat (limited to 'bin/cac-listservers')
-rwxr-xr-xbin/cac-listservers12
1 files changed, 0 insertions, 12 deletions
diff --git a/bin/cac-listservers b/bin/cac-listservers
deleted file mode 100755
index 1e815d2..0000000
--- a/bin/cac-listservers
+++ /dev/null
@@ -1,12 +0,0 @@
-#! /bin/sh
-set -euf
-
-listservers=$(_cac_get_api_v1 listservers)
-status=$(echo "$listservers" | jq -r .status)
-
-if [ "$status" = ok ]; then
- echo "$listservers" | jq -r .data
-else
- echo "$0: bad listservers status: $status" >&2
- exit 1
-fi