diff --git a/ipn/ipnlocal/local.go b/ipn/ipnlocal/local.go index c1ebef7a6..b35c1585a 100644 --- a/ipn/ipnlocal/local.go +++ b/ipn/ipnlocal/local.go @@ -909,7 +909,7 @@ func (b *LocalBackend) setClientStatus(st controlclient.Status) { if st.NetMap != nil { if envknob.NoLogsNoSupport() && hasCapability(st.NetMap, tailcfg.CapabilityDataPlaneAuditLogs) { - msg := "tailnet requires logging to be enabled. Remove -no-logs-no-support from tailscaled command line." + msg := "tailnet requires logging to be enabled. Remove --no-logs-no-support from tailscaled command line." health.SetLocalLogConfigHealth(errors.New(msg)) // Connecting to this tailnet without logging is forbidden; boot us outta here. b.mu.Lock()