From cc73f23c1c90c59cafdb1aa43d80d751a64409c6 Mon Sep 17 00:00:00 2001 From: Gergely Koloszar Date: Fri, 24 Oct 2025 12:35:56 +0000 Subject: [PATCH] fix: suppress ping stderr output --- dzgui.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dzgui.sh b/dzgui.sh index 7b080ad..0e609a0 100755 --- a/dzgui.sh +++ b/dzgui.sh @@ -503,7 +503,7 @@ check_availability() { if [[ $2 ]]; then timeout_sec=$2 fi - if ! ping -w "$timeout_sec" "$url" > /dev/null; then + if ! ping -w "$timeout_sec" "$url" > /dev/null 2>&1; then logger WARN "Failed to reach $url, service may be down." return 1 fi