From 1e243a144e94a70b2063c7e7c88c4c599ef93cad Mon Sep 17 00:00:00 2001 From: Alexander Gabriel Date: Sat, 28 Mar 2026 14:33:30 +0100 Subject: [PATCH] =?UTF-8?q?nur=20Ausgabe,=20wenn=20nicht=20http=20200=20zu?= =?UTF-8?q?r=C3=BCckgegeben=20wird?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dynv6_delegated.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dynv6_delegated.sh b/dynv6_delegated.sh index f639ac2..a1958ea 100644 --- a/dynv6_delegated.sh +++ b/dynv6_delegated.sh @@ -44,9 +44,9 @@ if [ "$old" = "$current" ]; then fi # send addresses to dynv6 -curl --silent -H "Authorization: Bearer $token" -H "Accept: application/json" -H "Content-Type: application/json" -X PATCH \ +curl -i --silent -H "Authorization: Bearer $token" -H "Accept: application/json" -H "Content-Type: application/json" -X PATCH \ -d '{"name":"'$hostname'","data":"'$address'","type":"AAAA"}' \ - $api_url | jq + $api_url | grep HTTP | grep -v 200 # save current address echo $current > $file