Skip to content

Commit

Permalink
file_scan: __add_file: a missing permission is not a fatal error
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandre Bruyelles <[email protected]>
  • Loading branch information
JackSlateur committed Sep 28, 2023
1 parent 2a431da commit 4df2f8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion file_scan.c
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ static int __add_file(const char *name, struct stat *st,
if (fd == -1) {
fprintf(stderr, "Error %d: %s while opening file \"%s\". "
"Skipping.\n", errno, strerror(errno), name);
return 1;
return 0;
}

ret = fstatfs(fd, &fs);
Expand Down

0 comments on commit 4df2f8e

Please sign in to comment.