summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-04-22 17:31:40 +0200
committerLennart Poettering <lennart@poettering.net>2016-04-22 17:31:40 +0200
commit37e605f934892bf7458eecaeb01fc682e33cc2ad (patch)
tree78187d7135622e17d69100c464c0fca4eac68d73 /src
parentaea529e5b2c864d536941ee18220abcc1a9015a0 (diff)
run: make --slice= work in conjunction with --scope
Fixes: #2991
Diffstat (limited to 'src')
-rw-r--r--src/run/run.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/run/run.c b/src/run/run.c
index 1993a424ca..ff94ac7b11 100644
--- a/src/run/run.c
+++ b/src/run/run.c
@@ -620,6 +620,10 @@ static int transient_scope_set_properties(sd_bus_message *m) {
if (r < 0)
return r;
+ r = transient_cgroup_set_properties(m);
+ if (r < 0)
+ return r;
+
r = sd_bus_message_append(m, "(sv)", "PIDs", "au", 1, (uint32_t) getpid());
if (r < 0)
return r;