diff --git a/dnsapi/dns_subreg.sh b/dnsapi/dns_subreg.sh index 944a51ff..22d59786 100644 --- a/dnsapi/dns_subreg.sh +++ b/dnsapi/dns_subreg.sh @@ -108,9 +108,7 @@ _subreg_ok() { # Reads from $response _subreg_map_get() { _key="$1" - echo "$response" | tr -d '\n\r' | \ - _egrep_o ">${_key}]*>[^<]*" | \ - sed 's/.*]*>//;s/<\/value>//' + echo "$response" | tr -d '\n\r' | _egrep_o ">${_key}]*>[^<]*" | sed 's/.*]*>//;s/<\/value>//' } # Login and store session token in _subreg_ssid