Skip to content

Commit 72c02f6

Browse files
authored
Update x-ui-pro.sh
1 parent 9a678dd commit 72c02f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x-ui-pro.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ if [[ "${UNINSTALL}" == *"y"* ]]; then
144144
rm -rf /etc/warp-plus/ /etc/v2raya/ /etc/nginx/sites-enabled/
145145
crontab -l | grep -v "nginx\|systemctl\|x-ui\|v2ray" | crontab -
146146

147-
type x-ui &> /dev/null && printf 'y\n' | x-ui uninstall
147+
command -v x-ui &> /dev/null && printf 'y\n' | x-ui uninstall
148148

149149
clear && msg_ok "Completely Uninstalled!" && exit 1
150150
fi

0 commit comments

Comments
 (0)