Compare commits

...

2 Commits

Author SHA1 Message Date
CanbiZ
3d5467f0e5 Merge branch 'main' of https://github.com/community-scripts/ProxmoxVED 2025-05-15 14:38:36 +02:00
CanbiZ
015fd29065 Update install.func 2025-05-15 14:38:34 +02:00

View File

@ -132,10 +132,10 @@ network_check() {
for HOST in "${GITHUB_HOSTS[@]}"; do
RESOLVEDIP=$(getent hosts "$HOST" | awk '{ print $1 }' | grep -E '(^([0-9]{1,3}\.){3}[0-9]{1,3}$)|(^[a-fA-F0-9:]+$)' | head -n1)
if [[ -z "$RESOLVEDIP" ]]; then
GITHUB_STATUS+=" $HOST"
GITHUB_STATUS+="{$CROSS} $HOST"
DNS_FAILED=true
else
GITHUB_STATUS+=" $HOST"
GITHUB_STATUS+="{$CM} $HOST"
fi
done