sftp: fix test failures

This was introduced by 50a3a96e27
s3-about
Nick Craig-Wood 2019-10-09 17:43:03 +01:00
parent 50a3a96e27
commit e8b92f4853
1 changed files with 2 additions and 1 deletions

View File

@ -93,8 +93,9 @@ func (v vfsHandler) Filecmd(r *sftp.Request) error {
// link := newMemFile(r.Target, false)
// link.symlink = r.Filepath
// v.files[r.Target] = link
return sftp.ErrSshFxOpUnsupported
}
return sftp.ErrSshFxOpUnsupported
return nil
}
type listerat []os.FileInfo