Qilan2 commited on
Commit
0a2706a
·
verified ·
1 Parent(s): b6bf5bc

Update server2.py

Browse files
Files changed (1) hide show
  1. server2.py +1 -1
server2.py CHANGED
@@ -337,7 +337,7 @@ def check_api1():
337
  # print(f"Rsync failed with return code: {e.returncode}")
338
  # print(f"Command output: {e.output}")
339
 
340
- subprocess.run(f"sh /sync.sh -p {ssh_port} -s {frp_url}", shell=True, check=True)
341
  break # 跳出循环
342
  else:
343
  print("接口返回信息:", response_json)
 
337
  # print(f"Rsync failed with return code: {e.returncode}")
338
  # print(f"Command output: {e.output}")
339
 
340
+ subprocess.run(f"bash /sync.sh -p {ssh_port} -s {frp_url}", shell=True, check=True)
341
  break # 跳出循环
342
  else:
343
  print("接口返回信息:", response_json)