We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d34ff2b commit 3df276bCopy full SHA for 3df276b
trunk/user/frp/frp.sh
@@ -30,7 +30,7 @@ down_frpc()
30
FRP_URL="https://opt.cn2qq.com/opt-file/frpc"
31
if [ ! -f "$frpc_path" ]; then
32
wget -t5 --timeout=60 --no-check-certificate -O $frpc_path $FRP_URL;
33
- if [ -f "$frpc_path" ]; then
+ if [ ! -f "$frpc_path" ]; then
34
logger -t "frp" "无法下载应用程序frpc,请确认网络正常,有充足的空间在/etc/storage/,请手工重启再试!"
35
echo "0"
36
return
@@ -47,7 +47,7 @@ down_frps()
47
FRP_URL="https://opt.cn2qq.com/opt-file/frps"
48
if [ ! -f "$frps_path" ]; then
49
wget -t5 --timeout=60 --no-check-certificate -O $frps_path $FRP_URL;
50
- if [ -f "$frps_path" ]; then
+ if [ ! -f "$frps_path" ]; then
51
logger -t "frp" "无法下载应用程序frps,请确认网络正常,有充足的空间在/etc/storage/,请手工重启再试!"
52
53
0 commit comments