Commit 4f1e55f2 authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

Change panic in AutoUnionFs in log, and return ENOSYS.

parent f55dea6b
......@@ -332,7 +332,8 @@ func (me *AutoUnionFs) OpenDir(name string) (stream chan fuse.DirEntry, status f
name = ""
case "":
default:
panic(fmt.Sprintf("Don't know how to list dir %v", name))
log.Sprintf("Argh! Don't know how to list dir %v", name)
return fuse.ENOSYS
}
me.lock.RLock()
......
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