diff options
-rw-r--r-- | src/libretools.conf | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libretools.conf b/src/libretools.conf index 631ca89..4157006 100644 --- a/src/libretools.conf +++ b/src/libretools.conf @@ -130,6 +130,10 @@ for VAR in CHROOTDIR CHROOT PARABOLAHOST LIBREDESTDIR \ ret=1 fi done +if [[ $CHROOT == root ]]; then + echo "Configured var CHROOT cannot equal 'root'" + ret=1 +fi if [[ $ret != 0 ]]; then exit 1 fi |