mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-08 15:58:04 +00:00
Installer: Force exit with direct command
This commit is contained in:
@@ -67,7 +67,8 @@ function _switch() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# run option directly if specified in argument
|
# 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[@]}"
|
select opt in "${options[@]}"
|
||||||
do
|
do
|
||||||
|
|||||||
Reference in New Issue
Block a user