[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: bugfix, dont let oneself block oneself…
Holger Levsen
holger at moszumanska.debian.org
Tue Sep 15 21:08:04 UTC 2015
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit 3870da9b1067d64a037fdd205d3be174199169d6
Author: Holger Levsen <holger at layer-acht.org>
Date: Tue Sep 15 23:07:59 2015 +0200
reproducible: bugfix, dont let oneself block oneself…
---
bin/schroot-create.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bin/schroot-create.sh b/bin/schroot-create.sh
index 31d1bed..5429312 100755
--- a/bin/schroot-create.sh
+++ b/bin/schroot-create.sh
@@ -184,8 +184,8 @@ bootstrap() {
cleanup_schroot_sessions() {
# FIXME: if this works well, move to _common.sh and use the same function from _maintenance.sh
local RESULT=""
- for loop in $(seq 0 19) ; do
- ps fax|grep -v grep |grep schroot || for i in $(schroot --all-sessions -l ) ; do ps fax|grep -v grep |grep schroot || schroot -e -c $i ; done
+ for loop in $(seq 0 40) ; do
+ ps fax|grep -v grep | grep -v schroot-create.sh |grep schroot || for i in $(schroot --all-sessions -l ) ; do ps fax|grep -v grep |grep -v schroot-create.sh | grep schroot || schroot -e -c $i ; done
RESULT=$(schroot --all-sessions -l)
if [ -z "$RESULT" ] ; then
break
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list