diff options
author | tv <tv@shackspace.de> | 2015-05-20 21:34:24 +0200 |
---|---|---|
committer | tv <tv@shackspace.de> | 2015-05-20 21:34:24 +0200 |
commit | a2970fcae78b9973c20bdcb78a8a4ec0170aac93 (patch) | |
tree | b01c4227dcd0b3246bce107f67b8afc20e94b9d1 /networking-configuration | |
parent | 952ea06725c8bf518955f2e5c42385573c1e6912 (diff) |
lib/cac.sh cac_listservers: return maybe data
Diffstat (limited to 'networking-configuration')
-rwxr-xr-x | networking-configuration | 2 |
1 files changed, 1 insertions, 1 deletions
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" } |