From a34ee1847b5a73a2aa748fb5b62ebc9339047135 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Thu, 31 Oct 2024 15:06:58 +0100 Subject: [PATCH] Silence unnecessary console output --- scripts/Common/Scripts/wait-network.fish | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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