diff options
Diffstat (limited to 'update-all.in')
-rw-r--r-- | update-all.in | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/update-all.in b/update-all.in index e5412d7..7b33884 100644 --- a/update-all.in +++ b/update-all.in @@ -23,12 +23,16 @@ if [ "$#" -eq 3 ]; then cmd="${cmd} update-me" case "$3" in 'c') - while sleep 1; do + delay=1 + while sleep ${delay}; do ${cmd} -c </dev/null err=$? if [ "${err}" -ne 1 ]; then break fi + if [ ${delay} -lt 10 ]; then + delay=$((delay+1)) + fi done ;; 's') |