From b35a0bdc1a0d68d89a0536927c0e957bf1f6dc1b Mon Sep 17 00:00:00 2001 From: fred Date: Thu, 7 Apr 2022 16:00:19 +0200 Subject: [PATCH] hide warnings --- crowdbunker.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crowdbunker.sh b/crowdbunker.sh index 4e22b2e..a9ff649 100755 --- a/crowdbunker.sh +++ b/crowdbunker.sh @@ -176,7 +176,7 @@ echo "########################################################################## PS3="Comment voulez-vous continuer et publier votre collecte ? " choices=("debug" "local" "qo-op" "astrXbian") - fav=$(cat ~/.zen/bunkerbox/choice) + fav=$(cat ~/.zen/bunkerbox/choice 2>/dev/null) [[ ! $fav ]] && select fav in "${choices[@]}"; do [[ $fav ]] && break; done case $fav in "local")