chiark / gitweb /
modules-load: fix minor race
[elogind.git] / src / modules-load.c
index a1738bb..3e3ccb0 100644 (file)
@@ -101,6 +101,9 @@ int main(int argc, char *argv[]) {
                 free(fn);
 
                 if (!f) {
+                        if (errno == ENOENT)
+                                continue;
+
                         log_error("Failed to open %s: %m", fn);
                         r = EXIT_FAILURE;
                         continue;