From 65d767ba93aeb87ccdb0a0c17dbb3f64131e86f4 Mon Sep 17 00:00:00 2001 From: jdstroy Date: Sun, 5 Sep 2021 07:38:26 -0400 Subject: [PATCH] Wait indefinitely for packets when --tunnel is specified. --- meshtastic/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meshtastic/__main__.py b/meshtastic/__main__.py index 67ac977..3250d83 100644 --- a/meshtastic/__main__.py +++ b/meshtastic/__main__.py @@ -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)