mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-11 05:17:44 +03:00
shared: do not include ~ when appending syscall filters property
The method already uses a boolean argument to determine whether it is in whitelist mode or not. The code that will parse the string of filters does not expect the ~, since it already has the boolean argument. Thus, it will fail to parse the list of filters.
This commit is contained in:
parent
4b65002175
commit
98008caa94
@ -966,7 +966,7 @@ static int bus_append_execute_property(sd_bus_message *m, const char *field, con
|
||||
if (r < 0)
|
||||
return bus_log_create_error(r);
|
||||
|
||||
for (p = eq;;) {
|
||||
for (;;) {
|
||||
_cleanup_free_ char *word = NULL;
|
||||
|
||||
r = extract_first_word(&p, &word, NULL, EXTRACT_QUOTES);
|
||||
|
Loading…
Reference in New Issue
Block a user