more fixes!

This commit is contained in:
JackDoan committed 2026-07-17 15:40:07 -05:00
1 parent ee7d6cf90c
commit 7896f2093b
5 files changed
+34 -21

No files matched your search

+2 -2
View File
@@ -50,7 +50,7 @@ func New(control *nebula.Control) (_ *Service, reterr error) {
return nil, errors.New("must be using user device")
}
err := control.Start()
wait, err := control.Start()
if err != nil {
return nil, err
}
@@ -155,7 +155,7 @@ func New(control *nebula.Control) (_ *Service, reterr error) {
// Add the nebula wait function to the group so a fatal reader error
// propagates out through errgroup.Wait().
eg.Go(func() error {
return control.Wait()
return wait()
})
return &s, nil