diff --git a/dynb.sh b/dynb.sh index 38fb5ce..75edb59 100755 --- a/dynb.sh +++ b/dynb.sh @@ -222,7 +222,7 @@ function fetchDNSRecords function getRecordID { echo "$_dns_records" | - jq "select(.type == \"${1}\") | .id" + jq --raw-output "select(.type == \"${1}\") | .id" } ## do_dig_request A B