diff --git a/scripts/Common/Scripts/wait-network.fish b/scripts/Common/Scripts/wait-network.fish index 79af57d1..04fc196c 100755 --- a/scripts/Common/Scripts/wait-network.fish +++ b/scripts/Common/Scripts/wait-network.fish @@ -10,7 +10,7 @@ function waitNetwork -a witness end if [ -z "$witness" ] - if not testNetwork + if not testNetwork &>/dev/null tmux new-session -d 'cat /etc/motd; echo "$(tput bold)Please establish an internet connection...$(tput sgr0)"; $SHELL' fish (status filename) true & set -l pid "$last_pid" @@ -33,7 +33,7 @@ function waitNetwork -a witness while true set x (math $x + 1) - if testNetwork + if testNetwork &>/dev/null tmux kill-session &>/dev/null break else