We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f37c7ee commit 8523dfdCopy full SHA for 8523dfd
1 file changed
comitup/comitup.py
@@ -135,14 +135,25 @@ def main():
135
sys.exit(1)
136
else:
137
sys.exit(0)
138
- else:
139
- if wificheck.run_checks(
+
+ got_intfs: int = False
140
+ check_count = 0
141
+ while got_intfs is False:
142
+ check_count += 1
143
+ if not wificheck.run_checks(
144
logit=True,
145
verbose=False,
146
primary_dev=conf.primary_wifi_device,
147
):
148
+ got_intfs = True
149
150
+ if check_count >= 5:
151
+ log.error("No valid interfaces")
152
153
154
+ if not got_intfs:
155
+ time.sleep(2)
156
157
check_environment(log)
158
159
webmgr.init_webmgr(conf.web_service)
0 commit comments