Fixed order of have_tunnel check

This commit is contained in:
Ryan Tolboom committed 2021-10-20 21:38:19 -04:00
1 parent 19613ff53b
commit a6d2ce11cc
1 file changed
+1 -1
+1 -1
View File
@@ -511,7 +511,7 @@ def common():
# We assume client is fully connected now
onConnected(client)
if args.noproto or (args.tunnel and have_tunnel): # loop until someone presses ctrlc
if args.noproto or (have_tunnel and args.tunnel): # loop until someone presses ctrlc
while True:
time.sleep(1000)