mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-07 14:50:55 +03:00
printf: replace %#v with the more explicit %q
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
@@ -325,7 +325,7 @@ func (fs *OsFs) ResolvePath(virtualPath string) (string, error) {
|
||||
// path chain until we hit a directory that _does_ exist and can be validated.
|
||||
_, err = fs.findFirstExistingDir(r)
|
||||
if err != nil {
|
||||
fsLog(fs, logger.LevelError, "error resolving non-existent path %#v", err)
|
||||
fsLog(fs, logger.LevelError, "error resolving non-existent path %q", err)
|
||||
}
|
||||
return r, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user