fix: silence ping while checking remote urls

This commit is contained in:
Gergely Koloszar 2025-10-22 17:20:56 +02:00
parent 6aa1ec4201
commit 239a82876e

View File

@ -503,7 +503,7 @@ check_availability() {
if [[ $2 ]]; then
timeout_sec=$2
fi
if ! ping -w "$timeout_sec" "$url"; then
if ! ping -w "$timeout_sec" "$url" > /dev/null; then
logger WARN "Failed to reach $url, service may be down."
return 1
fi