diff --git a/Makefile b/Makefile index 401388bf6..6c2f1b777 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,10 @@ usage: echo "See Makefile" -check: staticcheck +vet: + go vet ./... + +check: staticcheck vet staticcheck: go run honnef.co/go/tools/cmd/staticcheck -- $$(go list ./... | grep -v tempfork) diff --git a/cmd/tailscale/cli/debug.go b/cmd/tailscale/cli/debug.go index fff8b388a..8ab4467a0 100644 --- a/cmd/tailscale/cli/debug.go +++ b/cmd/tailscale/cli/debug.go @@ -63,5 +63,4 @@ func runMonitor(ctx context.Context) error { mon.Start() log.Printf("Started link change monitor; waiting...") select {} - return nil }