From 7cb3657a4cd6878ba6bfc8f7291be2823d3974c2 Mon Sep 17 00:00:00 2001 From: Michael Schroeder Date: Wed, 21 Sep 2016 13:31:19 +0200 Subject: More cleanup_and_exit refactoring --- build-recipe-debootstrap | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'build-recipe-debootstrap') diff --git a/build-recipe-debootstrap b/build-recipe-debootstrap index 62ab7d5..65bbfbd 100644 --- a/build-recipe-debootstrap +++ b/build-recipe-debootstrap @@ -49,8 +49,7 @@ recipe_build_debootstrap() { echo "running debootstrap..." if ! "$@" || ! chroot $BUILD_ROOT dpkg --configure -a; then cat $BUILD_ROOT/debootstrap/debootstrap.log - echo "Failed to setup debootstrap chroot" - cleanup_and_exit 1 + cleanup_and_exit 1 "Failed to setup debootstrap chroot" fi # adapt passwd -- cgit v1.2.3