From 9ed44f21bf7292ed7e81d7c85a9aac2900a9031c Mon Sep 17 00:00:00 2001 From: fscarmen <62703343+fscarmen@users.noreply.github.com> Date: Sun, 27 Feb 2022 09:59:06 +0800 Subject: [PATCH] Update unlock.sh --- unlock.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unlock.sh b/unlock.sh index 904fc7d..105fc1e 100644 --- a/unlock.sh +++ b/unlock.sh @@ -374,7 +374,7 @@ while getopts ":CcEeUu46SsM:m:A:a:N:n:T:t:" OPTNAME; do case "$OPTNAME" in 'C'|'c' ) L='C';; 'E'|'e' ) L='E';; - 'U'|'u' ) if [ -f /etc/wireguard/warp_unlock.sh ]; then UN=1 && uninstall + 'U'|'u' ) if [ -f /etc/wireguard/warp_unlock.sh ]; then UN=1; uninstall; exit 0 else red " ${T[${L}27]} " && exit 1; fi;; '4' ) TRACE4=$(curl -ks4m8 https://www.cloudflare.com/cdn-cgi/trace | grep warp | sed "s/warp=//g") [[ ! $TRACE4 =~ on|plus ]] && red " ${T[${L}24]} " && exit 1 || STATUS=(1 0 0);;