diff options
| author | Yann E. MORIN" <yann.morin.1998@free.fr> | 2013-01-10 23:09:38 +0100 |
|---|---|---|
| committer | Yann E. MORIN" <yann.morin.1998@free.fr> | 2013-01-10 23:09:38 +0100 |
| commit | d75440243e9fc9152f9c073d8f88e570cd09de49 (patch) | |
| tree | 258fc4eb05edecba3198de7d9bc2b2e55857dfeb /scripts | |
| parent | 1cabb74b7d629262319c9e348962088a0697fe33 (diff) | |
| download | crosstool-ng-d75440243e9fc9152f9c073d8f88e570cd09de49.tar.gz crosstool-ng-d75440243e9fc9152f9c073d8f88e570cd09de49.tar.bz2 crosstool-ng-d75440243e9fc9152f9c073d8f88e570cd09de49.zip | |
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>
Diffstat (limited to 'scripts')
| -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 |
