diff --git a/menu.sh b/menu.sh index 99ee4a4..92905fa 100644 --- a/menu.sh +++ b/menu.sh @@ -1677,7 +1677,7 @@ wireproxy_solution(){ # 查 WARP+ 余额流量接口 check_quota(){ - if [ $CHECK_TYPE = 1 ]; then + if [ "$CHECK_TYPE" = 1 ]; then QUOTA=$(grep -oP 'Quota: \K\d+' <<< $ACCOUNT) else ACCESS_TOKEN=$(grep 'access_token' /etc/wireguard/wgcf-account.toml | cut -d \" -f2)