Update menu.sh

dependabot/github_actions/actions/checkout-3.1.0
fscarmen 3 years ago committed by GitHub
parent 89ac86a529
commit 55f7606fb0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      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)

Loading…
Cancel
Save