summaryrefslogtreecommitdiffstats
path: root/bin/chroot-run.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2014-07-20 14:54:04 +0200
committerHolger Levsen <holger@layer-acht.org>2014-07-20 14:54:12 +0200
commit211fc205f55af72bf587eca1a99b085c2e62d931 (patch)
treee82add101787edc9c7e8d13c3487af0ec7289620 /bin/chroot-run.sh
parent35de20101c9e7473a84aa8b71146e31b3f9e2bfe (diff)
downloadjenkins.debian.net-211fc205f55af72bf587eca1a99b085c2e62d931.tar.xz
chroot-run.sh: be verbose about the amount of time we sleep
Diffstat (limited to 'bin/chroot-run.sh')
-rwxr-xr-xbin/chroot-run.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/chroot-run.sh b/bin/chroot-run.sh
index cac853bc..a1388c6f 100755
--- a/bin/chroot-run.sh
+++ b/bin/chroot-run.sh
@@ -48,8 +48,9 @@ bootstrap() {
echo "Bootstraping $DISTRO into $CHROOT_TARGET now."
if ! sudo debootstrap $DISTRO $CHROOT_TARGET $MIRROR; then
- echo "debootstrap failed, slowing down"
- sleep 1800
+ SLEEPTIME=1800
+ echo "debootstrap failed, slowing down, sleeping $SLEEPTIME now..."
+ sleep $SLEEPTIME
exit 1
fi