summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-02-05 17:18:47 +0100
committerHolger Levsen <holger@layer-acht.org>2015-02-05 17:18:47 +0100
commit815dadbbe03f63c4799e9c4330fd97a3e1a1a65f (patch)
tree45fa04cf7be45534f857e2cbc291ddc74972ba70
parent59d01a7f3eba5e32936f940cabec3789a23a0893 (diff)
downloadjenkins.debian.net-815dadbbe03f63c4799e9c4330fd97a3e1a1a65f.tar.xz
chroot-installation: add more debug output
-rwxr-xr-xbin/chroot-installation.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/chroot-installation.sh b/bin/chroot-installation.sh
index 1b6cf768..ba0d9e28 100755
--- a/bin/chroot-installation.sh
+++ b/bin/chroot-installation.sh
@@ -59,6 +59,7 @@ execute_ctmpfile() {
sudo chroot $CHROOT_TARGET $TMPFILE
fi
rm $CTMPFILE
+ echo "Debug: This should only be printed on success."
}
prepare_bootstrap() {
@@ -253,6 +254,8 @@ if [ "$3" != "" ] ; then
esac
fi
+echo "Debug: Removing trap."
trap - INT TERM EXIT
+echo "Debug: Cleanup fine"
cleanup_all fine