mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-20 21:33:08 +00:00
scripts: woops, root's UID is 0, not 1000!
Left-over from a test... :-( Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
This commit is contained in:
parent
1cabb74b7d
commit
d75440243e
@ -27,7 +27,7 @@
|
||||
|
||||
# Check running as root
|
||||
if [ -z "${CT_ALLOW_BUILD_AS_ROOT_SURE}" ]; then
|
||||
if [ $(id -u) -eq 1000 ]; then
|
||||
if [ $(id -u) -eq 0 ]; then
|
||||
CT_DoLog ERROR "You must NOT be root to run crosstool-NG"
|
||||
exit 1
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user