mirror of
https://github.com/systemd/systemd.git
synced 2025-01-12 13:18:14 +03: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.
This commit is contained in:
parent
3383f7e956
commit
34a317e1cc
Notes:
Lennart Poettering
2015-02-12 16:06:40 +01:00
Backport: bugfix
@ -155,6 +155,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;
|
||||
|
Loading…
Reference in New Issue
Block a user