Scripts version 2363

This commit is contained in:
Mikhail Tergoev
2024-10-14 18:59:15 +03:00
parent 6341e810d9
commit 5473a87714
4 changed files with 29 additions and 2 deletions

View File

@ -16,7 +16,10 @@ echo '
'
$PW_DEBUG
if [[ $(id -u) = 0 ]] && [[ ! -e "/userdata/system/batocera.conf" ]] ; then
if [[ $(id -u) = 0 ]] \
&& [[ ! -e "/userdata/system/batocera.conf" ]]
then
echo "Do not run this script as root!"
exit 1
fi