diff --git a/cmd/serve/nfs/filesystem.go b/cmd/serve/nfs/filesystem.go index fe30326cb..a87563171 100644 --- a/cmd/serve/nfs/filesystem.go +++ b/cmd/serve/nfs/filesystem.go @@ -29,6 +29,7 @@ func setSys(fi os.FileInfo) { node, ok := fi.(vfs.Node) if !ok { fs.Errorf(fi, "internal error: %T is not a vfs.Node", fi) + return } vfs := node.VFS() // Set the UID and GID for the node passed in from the VFS defaults.