diff options
Diffstat (limited to 'src/shared/log.c')
-rw-r--r-- | src/shared/log.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/log.c b/src/shared/log.c index a7c3195f39..078ccdc35b 100644 --- a/src/shared/log.c +++ b/src/shared/log.c @@ -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"); |