diff options
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/busname.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/busname.c b/src/core/busname.c index 4806e741ca..bd7d02d73b 100644 --- a/src/core/busname.c +++ b/src/core/busname.c @@ -233,7 +233,8 @@ static int busname_open_fd(BusName *n) { if (n->starter_fd >= 0) return 0; - n->starter_fd = bus_kernel_create_starter(UNIT(n)->manager->running_as == SYSTEMD_SYSTEM ? "system" : "user", n->name); + n->starter_fd = bus_kernel_create_starter(UNIT(n)->manager->running_as == SYSTEMD_SYSTEM ? "system" : "user", + n->name, n->policy); if (n->starter_fd < 0) { log_warning_unit(UNIT(n)->id, "Failed to create starter fd: %s", strerror(-n->starter_fd)); return n->starter_fd; |