check for onionr exit when awaiting onboarding completion
parent
7c7e5de091
commit
3bb51a16e1
|
@ -242,8 +242,9 @@ class OnionrCommunicatorDaemon:
|
||||||
'First run detected. Run openhome to get setup.',
|
'First run detected. Run openhome to get setup.',
|
||||||
terminal=True)
|
terminal=True)
|
||||||
|
|
||||||
while not config.get('onboarding.done', True):
|
while not config.get('onboarding.done', True) and \
|
||||||
time.sleep(5)
|
not self.shutdown:
|
||||||
|
time.sleep(2)
|
||||||
|
|
||||||
# Main daemon loop, mainly for calling timers,
|
# Main daemon loop, mainly for calling timers,
|
||||||
# don't do any complex operations here to avoid locking
|
# don't do any complex operations here to avoid locking
|
||||||
|
|
Loading…
Reference in New Issue