mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-11-29 02:42:51 +00:00
Fixed errors in x-ui.sh
This commit is contained in:
parent
0f563dc030
commit
4b9e34aea6
1 changed files with 2 additions and 2 deletions
4
x-ui.sh
4
x-ui.sh
|
|
@ -44,7 +44,7 @@ iplimit_log_path="${log_folder}/3xipl.log"
|
|||
iplimit_banned_log_path="${log_folder}/3xipl-banned.log"
|
||||
|
||||
confirm() {
|
||||
if [[ $# > 1 ]]; then
|
||||
if [[ $# -gt 1 ]]; then
|
||||
echo && read -rp "$1 [Default $2]: " temp
|
||||
if [[ "${temp}" == "" ]]; then
|
||||
temp=$2
|
||||
|
|
@ -2022,7 +2022,7 @@ show_menu() {
|
|||
esac
|
||||
}
|
||||
|
||||
if [[ $# > 0 ]]; then
|
||||
if [[ $# -gt 0 ]]; then
|
||||
case $1 in
|
||||
"start")
|
||||
check_install 0 && start 0
|
||||
|
|
|
|||
Loading…
Reference in a new issue