mirror of
https://github.com/slackhq/nebula.git
synced 2026-08-15 05:07:00 +02:00
Make Control safe to stop and wait on from any lifecycle state (#1794)
This commit is contained in:
@@ -40,6 +40,7 @@ func newTunFromFd(c *config.C, l *slog.Logger, deviceFd int, vpnNetworks []netip
|
||||
|
||||
err := t.reload(c, true)
|
||||
if err != nil {
|
||||
_ = file.Close()
|
||||
return nil, err
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user