Fixed errors in x-ui.sh

This commit is contained in:
Michael S2pac 2025-11-19 18:52:53 +03:00
parent 0f563dc030
commit 4b9e34aea6

View file

@ -44,7 +44,7 @@ iplimit_log_path="${log_folder}/3xipl.log"
iplimit_banned_log_path="${log_folder}/3xipl-banned.log" iplimit_banned_log_path="${log_folder}/3xipl-banned.log"
confirm() { confirm() {
if [[ $# > 1 ]]; then if [[ $# -gt 1 ]]; then
echo && read -rp "$1 [Default $2]: " temp echo && read -rp "$1 [Default $2]: " temp
if [[ "${temp}" == "" ]]; then if [[ "${temp}" == "" ]]; then
temp=$2 temp=$2
@ -2022,7 +2022,7 @@ show_menu() {
esac esac
} }
if [[ $# > 0 ]]; then if [[ $# -gt 0 ]]; then
case $1 in case $1 in
"start") "start")
check_install 0 && start 0 check_install 0 && start 0