diff --git a/bashtuner.sh b/bashtuner.sh index 08d18f3..328efe2 100755 --- a/bashtuner.sh +++ b/bashtuner.sh @@ -36,6 +36,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