server(filesystem): fix Writefile being broken

This commit is contained in:
Matthew Penner
2023-01-17 18:44:56 -07:00
parent e9b8b11fec
commit 13d3490bcf

View File

@@ -117,7 +117,6 @@ func (fs *Filesystem) Touch(p string, flag int) (*os.File, error) {
if err != nil {
return nil, errors.Wrap(err, "server/filesystem: touch: failed to open file with wait")
}
_ = f.Close()
_ = fs.Chown(cleaned)
return f, nil
}