Don't print plain text directory name in "Invalid name" warning
This commit is contained in:
parent
6454db68d9
commit
1573efec98
@ -107,7 +107,7 @@ func (fs *FS) OpenDir(dirName string, context *fuse.Context) ([]fuse.DirEntry, f
|
||||
if !fs.args.PlaintextNames {
|
||||
name, err = fs.CryptFS.DecryptName(cName, cachedIV, fs.args.EMENames)
|
||||
if err != nil {
|
||||
cryptfs.Warn.Printf("Invalid name \"%s\" in dir \"%s\": %s", cName, dirName, err)
|
||||
cryptfs.Warn.Printf("Invalid name \"%s\" in dir \"%s\": %s", cName, cDirName, err)
|
||||
continue
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user