diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-04-22 14:04:38 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-04-22 14:04:38 -0400 |
commit | 86ec5e5e29295fb2594a7899e86cda9644b98b9a (patch) | |
tree | 2107481a9703edf9094b6652d556879b983c11e1 /src/run | |
parent | 9ba37525d0ef3d144a50ed5fd4710573e92b7ec1 (diff) | |
parent | 37e605f934892bf7458eecaeb01fc682e33cc2ad (diff) |
Merge pull request #3094 from poettering/run-slice
systemd-run: fix --slice= in conjunction with --scope
Diffstat (limited to 'src/run')
-rw-r--r-- | src/run/run.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/run/run.c b/src/run/run.c index 4a0143d4e6..1d0f74ad21 100644 --- a/src/run/run.c +++ b/src/run/run.c @@ -621,6 +621,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; |