diff options
-rw-r--r-- | src/lib/conf.sh | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/lib/conf.sh b/src/lib/conf.sh index 7693ee5..c5c5056 100644 --- a/src/lib/conf.sh +++ b/src/lib/conf.sh @@ -99,17 +99,12 @@ load_conf_libretools() { load_conf_libretools_chroot() { load_files chroot + # Exclude CHROOTEXTRAPKG from the checks because an empty value is valid if [[ -f /.arch-chroot ]]; then # check_vars chroot CHROOTEXTRAPKG : else # check_vars chroot CHROOTDIR CHROOT CHROOTEXTRAPKG - local ret=0 - check_vars chroot CHROOTDIR CHROOT || ret=$? - if [[ $CHROOT == root ]]; then - echo "Configured var CHROOT cannot equal 'root'" - ret=1 - fi - return $ret; + check_vars chroot CHROOTDIR CHROOT fi } |