From: Lennart Poettering Date: Fri, 22 Apr 2016 15:31:40 +0000 (+0200) Subject: run: make --slice= work in conjunction with --scope X-Git-Tag: v230~148^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F3094%2Fhead;p=thirdparty%2Fsystemd.git run: make --slice= work in conjunction with --scope Fixes: #2991 --- diff --git a/src/run/run.c b/src/run/run.c index 1993a424ca3..ff94ac7b111 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;