From b998532067ada0aacd77dd5ea29a1152810c1e68 Mon Sep 17 00:00:00 2001 From: Robert Nelson <robertcnelson@gmail.com> Date: Wed, 23 Sep 2015 18:32:12 -0500 Subject: [PATCH] buildbot, exit 0 is an error Signed-off-by: Robert Nelson <robertcnelson@gmail.com> --- scripts/chroot.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/chroot.sh b/scripts/chroot.sh index 341bd7924..e6cd2cb12 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 } -- GitLab