diff options
Diffstat (limited to 'apps/installer/main.sh')
-rw-r--r-- | apps/installer/main.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/installer/main.sh b/apps/installer/main.sh index 7123117a40..44fc65efb0 100644 --- a/apps/installer/main.sh +++ b/apps/installer/main.sh @@ -67,7 +67,8 @@ function _switch() { } # run option directly if specified in argument -[ ! -z $1 ] && _switch "${options[$cmdopt-1]}" && exit 0 +[ ! -z $1 ] && _switch "${options[$cmdopt-1]}" +[ ! -z $1 ] && exit 0 select opt in "${options[@]}" do |