diff options
-rw-r--r-- | scripts/crosstool-NG.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
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 |