mirror of
https://github.com/meshtastic/python.git
synced 2025-12-31 03:47:55 -05:00
Wait indefinitely for packets when --tunnel is specified.
This commit is contained in:
@@ -511,7 +511,7 @@ def common():
|
||||
# We assume client is fully connected now
|
||||
onConnected(client)
|
||||
|
||||
if args.noproto: # loop until someone presses ctrlc
|
||||
if args.noproto or (args.tunnel and have_tunnel): # loop until someone presses ctrlc
|
||||
while True:
|
||||
time.sleep(1000)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user