From d24e39270fce7113b43f53622f359bff10989aa1 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 14 Sep 2015 13:20:18 +0200 Subject: reproducible: try longer to cleanup schroot sessions --- 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 20e5f3ab..31d1bed0 100755 --- a/bin/schroot-create.sh +++ b/bin/schroot-create.sh @@ -184,13 +184,13 @@ 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 9) ; do + 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 RESULT=$(schroot --all-sessions -l) if [ -z "$RESULT" ] ; then break fi - sleep 5 + sleep 15 done } -- cgit v1.2.3-70-g09d2