Commit a5c2119e authored by Matt Colyer's avatar Matt Colyer

Fixed a return that was supposed to be there (thanks to Martin who pointed it out).

parent c9adedcc
......@@ -31,6 +31,7 @@ static int ifuse_getattr(const char *path, struct stat *stbuf) {
file = afc_get_file_info(afc, path);
if (!file){
res = -ENOENT;
return res;
}
stbuf->st_mode = file->type | 0444;
......
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