Fix launch on Batocera

On Batocera only root user
parent 290d8625
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment