File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ confirm_restart() {
6969}
7070
7171before_show_menu () {
72- echo && echo -n -e " ${yellow} Press enter to return to the main menu: ${plain} " && read temp
72+ echo && echo -n -e " ${yellow} Press enter to return to the main menu: ${plain} " && read -r temp
7373 show_menu
7474}
7575
@@ -125,8 +125,8 @@ update_menu() {
125125}
126126
127127legacy_version () {
128- echo " Enter the panel version (like 2.4.0):"
129- read tag_version
128+ echo -n " Enter the panel version (like 2.4.0):"
129+ read -r tag_version
130130
131131 if [ -z " $tag_version " ]; then
132132 echo " Panel version cannot be empty. Exiting."
@@ -256,7 +256,8 @@ check_config() {
256256}
257257
258258set_port () {
259- echo && echo -n -e " Enter port number[1-65535]: " && read port
259+ echo -n " Enter port number[1-65535]: "
260+ read -r port
260261 if [[ -z " ${port} " ]]; then
261262 LOGD " Cancelled"
262263 before_show_menu
You can’t perform that action at this time.
0 commit comments