diff options
| -rw-r--r-- | src/ifuse.c | 1 |
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) { | |||
| 31 | file = afc_get_file_info(afc, path); | 31 | file = afc_get_file_info(afc, path); |
| 32 | if (!file){ | 32 | if (!file){ |
| 33 | res = -ENOENT; | 33 | res = -ENOENT; |
| 34 | return res; | ||
| 34 | } | 35 | } |
| 35 | 36 | ||
| 36 | stbuf->st_mode = file->type | 0444; | 37 | stbuf->st_mode = file->type | 0444; |
