journalctl-filter: add missing sd_journal_add_conjunction()
Otherwise, if --facility= is specified with extra matches with '+', the facility filter will not be applied to the specified filter after '+'.
This commit is contained in:
@@ -311,7 +311,7 @@ static int add_facilities(sd_journal *j) {
|
||||
return r;
|
||||
}
|
||||
|
||||
return 0;
|
||||
return sd_journal_add_conjunction(j);
|
||||
}
|
||||
|
||||
static int add_matches_for_device(sd_journal *j, const char *devpath) {
|
||||
|
||||
Reference in New Issue
Block a user