mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-09-12 05:00:05 +00:00
Update x-ui.sh
This commit is contained in:
parent
034aad9af3
commit
b466464dc5
1 changed files with 3 additions and 2 deletions
5
x-ui.sh
5
x-ui.sh
|
@ -125,7 +125,7 @@ update_menu() {
|
|||
}
|
||||
|
||||
legacy_version() {
|
||||
echo "Enter the panel version (like 2.4.0):"
|
||||
echo -n "Enter the panel version (like 2.4.0):"
|
||||
read -r tag_version
|
||||
|
||||
if [ -z "$tag_version" ]; then
|
||||
|
@ -256,7 +256,8 @@ check_config() {
|
|||
}
|
||||
|
||||
set_port() {
|
||||
echo && echo -n -e "Enter port number[1-65535]: " && read -r port
|
||||
echo -n "Enter port number[1-65535]: "
|
||||
read -r port
|
||||
if [[ -z "${port}" ]]; then
|
||||
LOGD "Cancelled"
|
||||
before_show_menu
|
||||
|
|
Loading…
Reference in a new issue