mirror of
https://github.com/AuxXxilium/eudev.git
synced 2024-12-27 06:05:24 +07:00
journald: properly handle if we have no PID in a kmsg line
This commit is contained in:
parent
d7e1c95e0a
commit
96ceff5645
@ -1827,7 +1827,7 @@ static void proc_kmsg_line(Server *s, const char *p) {
|
||||
|
||||
/* Avoid any messages we generated ourselves via
|
||||
* log_info() and friends. */
|
||||
if (is_us(pid))
|
||||
if (pid && is_us(pid))
|
||||
goto finish;
|
||||
|
||||
if (s->forward_to_syslog)
|
||||
|
Loading…
Reference in New Issue
Block a user