diff options
author | Holger Levsen <holger@layer-acht.org> | 2014-07-20 14:54:04 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2014-07-20 14:54:12 +0200 |
commit | 211fc205f55af72bf587eca1a99b085c2e62d931 (patch) | |
tree | e82add101787edc9c7e8d13c3487af0ec7289620 | |
parent | 35de20101c9e7473a84aa8b71146e31b3f9e2bfe (diff) | |
download | jenkins.debian.net-211fc205f55af72bf587eca1a99b085c2e62d931.tar.xz |
chroot-run.sh: be verbose about the amount of time we sleep
-rwxr-xr-x | bin/chroot-run.sh | 5 |
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 |