From 239a82876ea5f56d581a9317b5467d0f38b5dbb7 Mon Sep 17 00:00:00 2001 From: Gergely Koloszar Date: Wed, 22 Oct 2025 17:20:56 +0200 Subject: [PATCH] fix: silence ping while checking remote urls --- dzgui.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dzgui.sh b/dzgui.sh index bd613cf..133ae41 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"; then + if ! ping -w "$timeout_sec" "$url" > /dev/null; then logger WARN "Failed to reach $url, service may be down." return 1 fi