diff options
Diffstat (limited to 'src/modules-load/modules-load.c')
-rw-r--r-- | src/modules-load/modules-load.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/modules-load/modules-load.c b/src/modules-load/modules-load.c index c77b092a62..08de5e0ce9 100644 --- a/src/modules-load/modules-load.c +++ b/src/modules-load/modules-load.c @@ -243,8 +243,9 @@ int main(int argc, char *argv[]) { umask(0022); - if (parse_proc_cmdline(parse_proc_cmdline_item) < 0) - return EXIT_FAILURE; + r = parse_proc_cmdline(parse_proc_cmdline_item); + if (r < 0) + log_warning("Failed to parse kernel command line, ignoring: %s", strerror(-r)); ctx = kmod_new(NULL, NULL); if (!ctx) { |