From afbf81f2b86f6024ee5a238694ab89021fe681d5 Mon Sep 17 00:00:00 2001 From: rootzoll Date: Mon, 15 Oct 2018 22:59:58 +0200 Subject: [PATCH] pipe fix --- home.admin/_bootstrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home.admin/_bootstrap.sh b/home.admin/_bootstrap.sh index c6ad44e..5192aaa 100644 --- a/home.admin/_bootstrap.sh +++ b/home.admin/_bootstrap.sh @@ -59,7 +59,7 @@ fi # check if there is a config file configFile="/mnt/hdd/raspiblitz.conf" -configExists=$(ls ${configFile} >/dev/null | grep -c '.conf') +configExists=$(ls ${configFile} 2>/dev/null | grep -c '.conf') if [ ${configExists} -eq 0 ]; then # create new config