Fix merge with master

This commit is contained in:
Nicola Murino 2024-04-09 18:08:42 +02:00 committed by GitHub
parent 073d834b5c
commit e52de81b00
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -495,7 +495,7 @@ func (p *sshFxpOpenPacket) respond(svr *Server) responsePacket {
mode = fs.FileMode() & os.ModePerm
}
f, err := os.OpenFile(svr.toLocalPath(p.Path), osFlags, mode)
f, err := svr.openfile(svr.toLocalPath(p.Path), osFlags, mode)
if err != nil {
return statusFromError(p.ID, err)
}