Skip to content

Commit 6488e19

Browse files
authored
Update x-ui-pro.sh
1 parent 78e2e95 commit 6488e19

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

x-ui-pro.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
#################### x-ui-pro v6.5.0 @ github.com/GFW4Fun ##############################################
2+
#################### x-ui-pro v6.6.0 @ github.com/GFW4Fun ##############################################
33
[[ $EUID -ne 0 ]] && echo "not root!" && sudo su -
44
##############################INFO######################################################################
55
msg_ok() { echo -e "\e[1;42m $1 \e[0m";}
@@ -193,7 +193,7 @@ if [[ -f $XUIDB ]]; then
193193
if [ -z "$RNDSTR" ] || [ "$RNDSTR" == "/" ]; then
194194
NOPATH="#"
195195
fi
196-
RNDSTR=$(add_slashes "$RNDSTR")
196+
RNDSTR=$(add_slashes "$RNDSTR" | tr -d '[:space:]')
197197
else
198198
PORT="2053"
199199
RNDSTR="/"

0 commit comments

Comments
 (0)