diff --git a/rofi-checklist.sh b/rofi-checklist.sh index 3f172ed..be4d1b1 100755 --- a/rofi-checklist.sh +++ b/rofi-checklist.sh @@ -102,6 +102,8 @@ case $selection in if [[ -n $selection ]]; then [[ -n $list_raw ]] && list_raw="${list_raw}${NL}" list_raw=`printf "%s%s %s\n" "$list_raw" "$EMPTY_RAW" "$selection"` + else + exit fi ;; esac