mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
magic-pax: fix root logic
This commit is contained in:
parent
0077cb3866
commit
03e7e7ab54
1 changed files with 2 additions and 2 deletions
|
|
@ -8,9 +8,9 @@ if [ -z "${USERID}" ] && [ -n "$(id -ru)" ]; then
|
|||
USERID="$(id -ru)"
|
||||
fi
|
||||
if [ -n "${USERID}" ] && [ "${USERID}" != "0" ]; then
|
||||
ROOT=yes
|
||||
elif [ -z "${USERID}" ]; then
|
||||
ROOT=no
|
||||
elif [ -z "${USERID}" ]; then
|
||||
ROOT=yes
|
||||
fi
|
||||
|
||||
#usage check
|
||||
|
|
|
|||
Loading…
Reference in a new issue