mirror of
https://github.com/falk-werner/webfuse-provider
synced 2024-10-27 20:44:10 +00:00
fix: changed inode of parent directory, so ls -lah will show .. again
This commit is contained in:
parent
856dba2c31
commit
d7bc8cb0f3
@ -101,7 +101,7 @@ class FileSystem {
|
||||
if ((entry) && ("dir" === entry.type)) {
|
||||
result = [
|
||||
{name: '.', inode: entry.inode},
|
||||
{name: '..', inode: 0}
|
||||
{name: '..', inode: entry.inode}
|
||||
];
|
||||
for(let subdir of Object.entries(entry.entries)) {
|
||||
const name = subdir[0];
|
||||
|
Loading…
Reference in New Issue
Block a user