1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-10-28 20:25:25 +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:
Ronny Chevalier 2018-06-18 11:16:12 +02:00 committed by Lennart Poettering
parent 4b65002175
commit 98008caa94

View File

@ -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);