From ddac0a8fec83ba4df171d821f6802fc606a6cda1 Mon Sep 17 00:00:00 2001 From: Carmelo Pellegrino <carmelo.pellegrino@gmail.com> Date: Wed, 20 May 2015 12:21:33 +0200 Subject: [PATCH] for a not understood reason in the previous implementation zenity was hanging --- patch-control.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patch-control.sh b/patch-control.sh index 34e74cb..996de92 100644 --- a/patch-control.sh +++ b/patch-control.sh @@ -127,9 +127,9 @@ done # Wait 10 seconds i=0; while [ $i -lt 100 ]; do + let "i = $i + 10" echo $i sleep 1 - let "i = $i + 10" done | zenity --progress \ --auto-close \ --text="You have 10 seconds to cancel the current operation:\nrunsetup: ${rs_file}\nduration: ${run_duration}" \ -- GitLab