diff --git a/patch-control.sh b/patch-control.sh index 9c8e6e89a205015b5dfc716beed296152246d065..4079cf663a1cbe566fd51d824bc77011511ff432 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" \