chiark / gitweb /
sd-bus: update peeking into receieved messages, with recent kernel change we need...
[elogind.git] / src / fstab-generator / fstab-generator.c
index e257c121e5e8c96557df53f3dc9c0cd05c762566..af45c25400ade65651e6aa05fa09ec7f3f3b66d4 100644 (file)
@@ -425,7 +425,7 @@ static int add_root_mount(void) {
         const char *opts;
 
         if (isempty(arg_root_what)) {
-                log_debug("Could not find a root= entry on the kernel commandline.");
+                log_debug("Could not find a root= entry on the kernel command line.");
                 return 0;
         }
 
@@ -593,8 +593,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));
 
         /* Always honour root= and usr= in the kernel command line if we are in an initrd */
         if (in_initrd()) {