v.0.0.6 User-agent

This commit is contained in:
alcapone1933
2022-11-12 11:13:46 +01:00
parent c7a5b39b2d
commit a7045709c8
6 changed files with 25 additions and 23 deletions

View File

@@ -24,7 +24,7 @@ else
echo "$DATUM DOMAIN - Deine DOMAIN $DOMAIN_IPV64"
fi
if ! curl -sSL --fail https://ipv64.net/ > /dev/null; then
if ! curl -sSL --user-agent "${CURL_USER_AGENT}" --fail https://ipv64.net/ > /dev/null; then
echo "$DATUM FEHLER !!! - 404 Sie haben kein Netzwerk oder Internetzugang"
exit 1
fi