diff --git a/file_scan.c b/file_scan.c index d934203f4143..7b0e2ae1bf3c 100644 --- a/file_scan.c +++ b/file_scan.c @@ -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);