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() {
364
364
read -n1 -p " ${RED} [${WHITE} ?${RED} ]${ORANGE} Do You Want A Coustom Port ${GREEN} [${CYAN} y${GREEN} /${CYAN} N${GREEN} ]: ${ORANGE} " P_ANS
365
365
if [[ ${P_ANS} =~ ^([yY])$ ]]; then
366
366
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
369
369
PORT=${CU_P}
370
370
echo " "
371
371
else
372
372
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; }
375
374
fi
376
375
elif [[ ${P_ANS} =~ ^([Nn])$ ]]; then
377
376
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