diff --git a/data_from_portwine/scripts/start.sh b/data_from_portwine/scripts/start.sh index 7e5bef12..7a8365ab 100755 --- a/data_from_portwine/scripts/start.sh +++ b/data_from_portwine/scripts/start.sh @@ -16,7 +16,7 @@ echo ' ' $PW_DEBUG -if [[ $(id -u) = 0 ]] ; then +if [[ $(id -u) = 0 ]] && [[ ! -e "/userdata/system/batocera.conf" ]] ; then echo "Do not run this script as root!" exit 1 fi