mirror of
https://github.com/tailscale/tailscale.git
synced 2025-10-16 03:14:44 +00:00
cmd/tailscaled: graceful shutdown (#534)
Signed-off-by: Dmytro Shynkevych <dmytro@tailscale.com>
This commit is contained in:

committed by
GitHub

parent
6255ce55df
commit
61abab999e
@@ -224,6 +224,7 @@ func Run(rctx context.Context, logf logger.Logf, logid string, opts Options, e w
|
||||
}
|
||||
stopAll()
|
||||
|
||||
b.Shutdown()
|
||||
return rctx.Err()
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user