From 12c4f87f56cfd03c75db6518228ca5077b44e3c5 Mon Sep 17 00:00:00 2001 From: Schweber <64630479+Schweber@users.noreply.github.com> Date: Wed, 22 Jan 2025 13:47:15 +0100 Subject: [PATCH] Make --online behaviour consistent when there is no connection at all and only no internet connection --- ndrop | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ndrop b/ndrop index 5d43af9..62b3cb0 100755 --- a/ndrop +++ b/ndrop @@ -72,7 +72,7 @@ partial_match() { wait_online() { wait_online=0 while [[ $wait_online -lt 200 ]]; do - ping -qc 1 -w 20 -i 0.1 github.com && break + ping -qc 1 github.com && break sleep 0.1 $wait_online++ done