Installer: Force exit with direct command
This commit is contained in:
parent
69598ff199
commit
94e0063522
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue