1
0

network: initial status should be 'unknown', distinct from 'connecting'

This commit is contained in:
ThomasV
2015-07-30 11:32:16 +02:00
parent 98501b17b3
commit 77b0e7be5e
2 changed files with 2 additions and 2 deletions

View File

@@ -304,7 +304,7 @@ def run_cmdline(config):
sys.exit(1)
network = NetworkProxy(s, config)
network.start()
while network.is_connecting():
while network.status == 'unknown':
time.sleep(0.1)
if not network.is_connected():
print_msg("daemon is not connected")