summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;