re-align to master

This commit is contained in:
JackDoan
2026-07-14 11:38:43 -05:00
parent 49028cb755
commit 05f7923860
6 changed files with 23 additions and 30 deletions
+2 -3
View File
@@ -98,15 +98,14 @@ func main() {
}
if !*configTest {
wait, err := ctrl.Start()
if err != nil {
if err := ctrl.Start(); err != nil {
util.LogWithContextIfNeeded("Error while running", err, l)
os.Exit(1)
}
go ctrl.ShutdownBlock()
if err := wait(); err != nil {
if err := ctrl.Wait(); err != nil {
l.Error("Nebula stopped due to fatal error", "error", err)
os.Exit(2)
}