mirror of
https://github.com/pterodactyl/wings.git
synced 2025-12-10 00:32:17 -06:00
server(filesystem): fix Writefile being broken
This commit is contained in:
parent
e9b8b11fec
commit
13d3490bcf
@ -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
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user