Commit 70ca520f authored by Lennart Poettering's avatar Lennart Poettering

modules-load: fix minor race

parent dce8e2e1
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment