Skip to content

Commit

Permalink
Fix merge with master
Browse files Browse the repository at this point in the history
  • Loading branch information
drakkan committed Apr 9, 2024
1 parent 073d834 commit e52de81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.go
Expand Up @@ -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)
}
Expand Down

0 comments on commit e52de81

Please sign in to comment.