summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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