Fix launch on Batocera
On Batocera only root user
This commit is contained in:
parent
290d8625ad
commit
59ec7005c6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user