From 9b38e8d4df1e814fc374ea0e91a4fa8605d9e432 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Fri, 27 Jul 2018 14:06:59 -0400 Subject: [PATCH] The cancel button now works. --- bashtuner.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/bashtuner.sh b/bashtuner.sh index 4420589..0039f98 100755 --- a/bashtuner.sh +++ b/bashtuner.sh @@ -34,6 +34,7 @@ if [[ $# -eq 0 ]]; then --no-tags \ --menu "Select tuning" 0 0 0 \ $(for i in ${!tuning[@]} ; do echo "$i";echo "$i";done) --stdout) + [[ -z $1 ]] && exit 0 fi [ $# -gt 1 ] && show_help