File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -364,14 +364,13 @@ cusport() {
364364 read -n1 -p " ${RED} [${WHITE} ?${RED} ]${ORANGE} Do You Want A Coustom Port ${GREEN} [${CYAN} y${GREEN} /${CYAN} N${GREEN} ]: ${ORANGE} " P_ANS
365365 if [[ ${P_ANS} =~ ^([yY])$ ]]; then
366366 printf " \n\n"
367- read -n4 -p " ${RED} [${WHITE} -${RED} ]${ORANGE} Enter Your Coustom 4-digit Port 1024-9999 : ${WHITE} " CU_P
368- if [[ ! -z ${CU_P,, } && " ${CU_P} " =~ ^([1-9][0-9][0-9][0-9])$ ]]; then
367+ read -n4 -p " ${RED} [${WHITE} -${RED} ]${ORANGE} Enter Your Custom 4-digit Port 1024-9999 : ${WHITE} " CU_P
368+ if [[ ! -z ${CU_P} && " ${CU_P} " =~ ^([1-9][0-9][0-9][0-9])$ ]]; then
369369 PORT=${CU_P}
370370 echo " "
371371 else
372372 echo -ne " \n${RED} [${WHITE} !${RED} ]${RED} Invalid 4-digit Port, Try Again...${WHITE} "
373- sleep 3
374- { clear; banner; cusport; }
373+ { sleep 3; clear; banner; cusport; }
375374 fi
376375 elif [[ ${P_ANS} =~ ^([Nn])$ ]]; then
377376 echo -ne " \n\n${RED} [${WHITE} -${RED} ]${BLUE} Using Default Port : $PORT ...${WHITE} "
You can’t perform that action at this time.
0 commit comments