diff options
-rwxr-xr-x | bin/schroot-create.sh | 4 |
1 files 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 } |