fixed coordinator not exiting on failed connection

This commit is contained in:
Mikayla Fischler
2024-04-10 20:49:14 -04:00
parent 612a06ba98
commit d0b50c834c
2 changed files with 2 additions and 1 deletions

View File

@@ -133,6 +133,7 @@ function threads.thread__main(smem)
local ok, start_ui = coord_comms.try_connect()
if not ok then
crd_state.link_fail = true
crd_state.shutdown = true
log_sys("supervisor connection failed, shutting down...")
log.fatal("failed to connect to supervisor")
break