diff options
author | gVisor bot <gvisor-bot@google.com> | 2019-11-01 18:47:47 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-11-01 18:47:47 +0000 |
commit | e7f30113e2a244a8acc080097909406688c50236 (patch) | |
tree | d624b1cb08d7e4ff4d3301310c75f0063e035828 /pkg/p9 | |
parent | 3e21d5a619c28d10f8850e3f96ef27958283bdc9 (diff) | |
parent | 5694bd080e0e95ba18cbf77038f450fe33b9f8df (diff) |
Merge release-20190806.1-360-g5694bd0 (automated)
Diffstat (limited to 'pkg/p9')
-rw-r--r-- | pkg/p9/server.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkg/p9/server.go b/pkg/p9/server.go index e717e6161..40b8fa023 100644 --- a/pkg/p9/server.go +++ b/pkg/p9/server.go @@ -453,7 +453,11 @@ func (cs *connState) initializeChannels() (err error) { go func() { // S/R-SAFE: Server side. defer cs.channelWg.Done() if err := res.service(cs); err != nil { - log.Warningf("p9.channel.service: %v", err) + // Don't log flipcall.ShutdownErrors, which we expect to be + // returned during server shutdown. + if _, ok := err.(flipcall.ShutdownError); !ok { + log.Warningf("p9.channel.service: %v", err) + } } }() } |