diff --git a/src/net/nss.go b/src/net/nss.go index fb12d6fdebf05..ad4c18145e072 100644 --- a/src/net/nss.go +++ b/src/net/nss.go @@ -27,7 +27,7 @@ type nsswitchConfig struct { ch chan struct{} // guards lastChecked and modTime lastChecked time.Time // last time nsswitch.conf was checked - mu sync.RWMutex // protects nssConf + mu sync.Mutex // protects nssConf nssConf *nssConf }