From c7572269205f6e09e80ac08fef528c8151efd97d Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Tue, 25 Jul 2017 15:04:59 +0200 Subject: [PATCH] [minfix] fixed connectivity check in sats-install --- clone/utility/sats-install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clone/utility/sats-install b/clone/utility/sats-install index e30c229..8345571 100644 --- a/clone/utility/sats-install +++ b/clone/utility/sats-install @@ -30,7 +30,7 @@ fi; # (x) If no network -> exit # slog " * 4. Checking connectivity"; -test $(systemctl is-active network-online.target) = "active" \ +[ -z "`ping xdrm.io -q -c 1 -i 1 2>&1 > /dev/null`" ] \ && slog " > done" \ || failexit;