From d75440243e9fc9152f9c073d8f88e570cd09de49 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Thu, 10 Jan 2013 23:09:38 +0100 Subject: [PATCH] scripts: woops, root's UID is 0, not 1000! Left-over from a test... :-( Signed-off-by: "Yann E. MORIN" --- scripts/crosstool-NG.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/crosstool-NG.sh.in b/scripts/crosstool-NG.sh.in index 512880e5..49b34a9f 100644 --- a/scripts/crosstool-NG.sh.in +++ b/scripts/crosstool-NG.sh.in @@ -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