summaryrefslogtreecommitdiff
path: root/build-recipe-debootstrap
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2016-09-21 13:31:19 +0200
committerMichael Schroeder <mls@suse.de>2016-09-21 13:31:19 +0200
commit7cb3657a4cd6878ba6bfc8f7291be2823d3974c2 (patch)
tree8c1e95110db6328bdfd727053048dcb6f1d7a00d /build-recipe-debootstrap
parent619d2aa35474b8e93cfced3140f87e4b2b321360 (diff)
More cleanup_and_exit refactoring
Diffstat (limited to 'build-recipe-debootstrap')
-rw-r--r--build-recipe-debootstrap3
1 files changed, 1 insertions, 2 deletions
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