more fixes!

This commit is contained in:
JackDoan
2026-07-13 18:55:44 -05:00
parent ee7d6cf90c
commit 7896f2093b
5 changed files with 34 additions and 21 deletions
+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