diff --git a/cmd/tailscaled/tailscaled.go b/cmd/tailscaled/tailscaled.go index 90c44a492..e4dbf220d 100644 --- a/cmd/tailscaled/tailscaled.go +++ b/cmd/tailscaled/tailscaled.go @@ -153,7 +153,8 @@ func run() error { interrupt := make(chan os.Signal, 1) signal.Notify(interrupt, syscall.SIGINT, syscall.SIGTERM) select { - case <-interrupt: + case s := <-interrupt: + logf("tailscaled got signal %v; shutting down", s) cancel() case <-ctx.Done(): // continue