summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-11-07 23:03:42 -0500
committerLennart Poettering <lennart@poettering.net>2010-11-10 22:38:43 +0100
commit70ca520f43d8cd3f9c6895d20ec87498b626bd75 (patch)
treef6d4dd696a03b36cc22f43f86f70072d74494b00 /src
parentdce8e2e12304946a13c261b2324ce1e14ed9f5cd (diff)
modules-load: fix minor race
Diffstat (limited to 'src')
-rw-r--r--src/modules-load.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules-load.c b/src/modules-load.c
index a1738bb8b4..3e3ccb0c2f 100644
--- a/src/modules-load.c
+++ b/src/modules-load.c
@@ -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;