mirror of
https://github.com/systemd/systemd.git
synced 2025-02-02 13:47:27 +03:00
modules-load: fix minor race
This commit is contained in:
parent
dce8e2e123
commit
70ca520f43
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user