mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-07 00:44:50 +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)"
|
USERID="$(id -ru)"
|
||||||
fi
|
fi
|
||||||
if [ -n "${USERID}" ] && [ "${USERID}" != "0" ]; then
|
if [ -n "${USERID}" ] && [ "${USERID}" != "0" ]; then
|
||||||
ROOT=yes
|
|
||||||
elif [ -z "${USERID}" ]; then
|
|
||||||
ROOT=no
|
ROOT=no
|
||||||
|
elif [ -z "${USERID}" ]; then
|
||||||
|
ROOT=yes
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#usage check
|
#usage check
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue