From da50dfd360134b8bab781b9b1a2c830a059dc6b1 Mon Sep 17 00:00:00 2001
From: Carmelo Pellegrino <carmelo.pellegrino@gmail.com>
Date: Wed, 20 May 2015 11:42:41 +0200
Subject: [PATCH] Logic correction

---
 patch-control.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/patch-control.sh b/patch-control.sh
index 93c9d72..afa5594 100644
--- a/patch-control.sh
+++ b/patch-control.sh
@@ -114,7 +114,7 @@ while [ 1 ]; do
                        --column="Minutes" \
                        FALSE Cancel FALSE 5 TRUE 10 FALSE 20`
 
-  if [ "${run_duration}" == "Cancel" ]; then
+  if [ "${run_duration}" != "Cancel" ]; then
     break
   fi
 
-- 
GitLab