mirror of
https://github.com/clearlinux/systemd-stable.git
synced 2026-09-07 06:03:51 +00:00
dbus1-generator: fix array sentinal
Add a {} sentinal entry so the config-iterator can properly iterate all
array elements. Fixes a segfault in the dbus1-generator.
(cherry picked from commit 34a317e1cc)
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
40c20a4270
commit
ff8045f252
@@ -165,6 +165,7 @@ static int add_dbus(const char *path, const char *fname, const char *type) {
|
||||
{ "D-BUS Service", "Exec", config_parse_string, 0, &exec },
|
||||
{ "D-BUS Service", "User", config_parse_string, 0, &user },
|
||||
{ "D-BUS Service", "SystemdService", config_parse_string, 0, &service },
|
||||
{ },
|
||||
};
|
||||
|
||||
char *p;
|
||||
|
||||
Reference in New Issue
Block a user