Commit 3bb51a16 authored by Kevin Froman's avatar Kevin Froman

check for onionr exit when awaiting onboarding completion

parent 7c7e5de0
Pipeline #117069207 failed with stage
in 3 minutes and 51 seconds
......@@ -242,8 +242,9 @@ class OnionrCommunicatorDaemon:
'First run detected. Run openhome to get setup.',
terminal=True)
while not config.get('onboarding.done', True):
time.sleep(5)
while not config.get('onboarding.done', True) and \
not self.shutdown:
time.sleep(2)
# Main daemon loop, mainly for calling timers,
# don't do any complex operations here to avoid locking
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment