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