[minfix] fixed connectivity check in sats-install
This commit is contained in:
parent
8b6a075edc
commit
c757226920
|
@ -30,7 +30,7 @@ fi;
|
||||||
|
|
||||||
# (x) If no network -> exit #
|
# (x) If no network -> exit #
|
||||||
slog " * 4. Checking connectivity";
|
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" \
|
&& slog " > done" \
|
||||||
|| failexit;
|
|| failexit;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue