summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ifuse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ifuse.c b/src/ifuse.c
index 1cfa48d..93467b3 100644
--- a/src/ifuse.c
+++ b/src/ifuse.c
@@ -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;