summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@free.fr>2013-01-10 22:09:38 (GMT)
committerYann E. MORIN" <yann.morin.1998@free.fr>2013-01-10 22:09:38 (GMT)
commitd75440243e9fc9152f9c073d8f88e570cd09de49 (patch)
tree258fc4eb05edecba3198de7d9bc2b2e55857dfeb
parent1cabb74b7d629262319c9e348962088a0697fe33 (diff)
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>
-rw-r--r--scripts/crosstool-NG.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/crosstool-NG.sh.in b/scripts/crosstool-NG.sh.in
index 512880e..49b34a9 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