summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-09-14 13:23:00 +0200
committerHolger Levsen <holger@layer-acht.org>2015-09-14 13:23:00 +0200
commite911f822cb60d46719bccd5918760c1f8a2aa93a (patch)
treeb74883b0ee6bd10c2e95078ea7453c47e01b91f9 /bin
parentd24e39270fce7113b43f53622f359bff10989aa1 (diff)
downloadjenkins.debian.net-e911f822cb60d46719bccd5918760c1f8a2aa93a.tar.xz
reproducible: break loop once update was successful
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_maintenance.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/reproducible_maintenance.sh b/bin/reproducible_maintenance.sh
index f687d620..e917dd3f 100755
--- a/bin/reproducible_maintenance.sh
+++ b/bin/reproducible_maintenance.sh
@@ -65,7 +65,7 @@ for s in $SUITES ; do
/bin/sleep $(echo "scale=1 ; ($(shuf -i 1-600 -n 1)/10)+60" | bc )
echo "$(date -u) - Retrying to update the $s/$ARCH schroot."
elif [ $RESULT -eq 0 ] ; then
- continue
+ break
fi
done
if [ $RESULT -eq 1 ] ; then
@@ -89,7 +89,7 @@ for s in $SUITES ; do
/bin/sleep $(echo "scale=1 ; ($(shuf -i 1-600 -n 1)/10)+60" | bc )
echo "$(date -u) - Retrying to update pbuilder for $s/$ARCH."
elif [ $RESULT -eq 0 ] ; then
- continue
+ break
fi
done
if [ $RESULT -eq 1 ] ; then