]> git.ipfire.org Git - thirdparty/systemd.git/commit
shared/bus-unit-util: also send empty array for LogFilterPatterns=
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 4 Jul 2025 10:07:13 +0000 (12:07 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 4 Jul 2025 10:14:27 +0000 (12:14 +0200)
commit8d853534edb186b079030adb5f3c602ef58fee41
tree04431116bb115b7c72e39293c4174ce0128da999
parent743b09c42ccfed2f44a155654f042b3eef7ce71d
shared/bus-unit-util: also send empty array for LogFilterPatterns=

Before, for empty input, we'd send an array with one item with an empty
pattern. Use the helper which sends an empty array instead.
bus_exec_context_set_transient_property() ignores items with an empty
pattern, so the result should be the same.

Request in review:
https://github.com/systemd/systemd/pull/37665#discussion_r2182375988.
src/shared/bus-unit-util.c