diff --git a/scripts/chroot.sh b/scripts/chroot.sh index 341bd7924f651fad5c07f9f170e404172bf52d51..e6cd2cb12f7e24b0860d044693c7b1af9efa4d72 100755 --- a/scripts/chroot.sh +++ b/scripts/chroot.sh @@ -200,9 +200,7 @@ chroot_umount () { chroot_stopped () { chroot_umount - if [ "x${chroot_completed}" = "xtrue" ] ; then - exit 0 - else + if [ ! "x${chroot_completed}" = "xtrue" ] ; then exit 1 fi }