diff --git a/cli.py b/cli.py index 9c2c372..20ad935 100644 --- a/cli.py +++ b/cli.py @@ -172,7 +172,8 @@ def cmd_start(store, args) -> int: _print("没有已配置的隧道。先用 tunnel add 添加。") return 1 hosts_by_id = {h["id"]: h for h in store.data["hosts"]} - mgr = TunnelManager(_QuietEmit(), data_root()) chosen = [] + mgr = TunnelManager(_QuietEmit(), data_root()) + chosen = [] for r in refs: t = find_tunnel(store, r) if not t: