mirror of
https://github.com/systemd/systemd.git
synced 2024-10-30 23:21:22 +03:00
parent
a8170f9a3f
commit
e8fb0238cd
@ -94,10 +94,7 @@ static int add_match(sd_journal *j, const char *match) {
|
||||
else
|
||||
prefix = "COREDUMP_COMM=";
|
||||
|
||||
pattern = strjoin(prefix, match);
|
||||
if (!pattern)
|
||||
return log_oom();
|
||||
|
||||
pattern = strjoina(prefix, match);
|
||||
log_debug("Adding match: %s", pattern);
|
||||
r = sd_journal_add_match(j, pattern, 0);
|
||||
if (r < 0)
|
||||
|
Loading…
Reference in New Issue
Block a user