Commit 5296835c authored by Aaron Jacobs's avatar Aaron Jacobs

Fixed a dumb bug.

parent 339bc03e
......@@ -292,7 +292,7 @@ func (in *inode) ReadDir(p []byte, offset int) (n int) {
}
tmp := fuseutil.WriteDirent(p[n:], in.entries[i])
if n == 0 {
if tmp == 0 {
break
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment