From 3a8e41154185f0927f1af108ee0ac25c51782223 Mon Sep 17 00:00:00 2001
From: Carmelo Pellegrino <carmelo.pellegrino@gmail.com>
Date: Thu, 21 May 2015 18:10:56 +0200
Subject: [PATCH] formatting

---
 patch-control.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/patch-control.sh b/patch-control.sh
index 9c8e6e8..4079cf6 100644
--- a/patch-control.sh
+++ b/patch-control.sh
@@ -42,7 +42,9 @@ function get_run_setup_file() {
   local line
 
   while IFS=';' read -ra line; do
-    LIST+=("FALSE" "${line[@]}")
+    if [ ${#line[@]} != 0 ]; then
+      LIST+=("FALSE" "${line[@]}")
+    fi
   done < pc.cfg
 
   echo $(zenity --title "Run Setup Selector" \
-- 
GitLab