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:
Yann E. MORIN" 2013-01-10 23:09:38 +01:00
parent 1cabb74b7d
commit d75440243e

View File

@ -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