chiark / gitweb /
util.h: fix typo
[elogind.git] / src / shared / log.c
index a7c3195f3923680efaa88e5131ccca5724780e1d..078ccdc35bf709b842c32bb0075fb6dc65cf5dcd 100644 (file)
@@ -880,6 +880,8 @@ void log_parse_environment(void) {
                                 break;
                         }
                 }
+                if (!isempty(state))
+                        log_warning("Trailing garbage and the end of kernel commandline, ignoring.");
         }
 
         e = secure_getenv("SYSTEMD_LOG_TARGET");