diff --git a/lib/srv/usermgmt.go b/lib/srv/usermgmt.go index 4a4e0b1f0f7be..7b3969077fe91 100644 --- a/lib/srv/usermgmt.go +++ b/lib/srv/usermgmt.go @@ -38,6 +38,7 @@ import ( // NewHostUsers initialize a new HostUsers object func NewHostUsers(ctx context.Context, storage *local.PresenceService, uuid string) HostUsers { + //nolint:staticcheck // SA4023. False positive on macOS. backend, err := newHostUsersBackend() switch { case trace.IsNotImplemented(err): @@ -58,6 +59,7 @@ func NewHostUsers(ctx context.Context, storage *local.PresenceService, uuid stri } func NewHostSudoers(uuid string) HostSudoers { + //nolint:staticcheck // SA4023. False positive on macOS. backend, err := newHostSudoersBackend(uuid) switch { case trace.IsNotImplemented(err):