projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aea529e
)
run: make --slice= work in conjunction with --scope
author
Lennart Poettering
<lennart@poettering.net>
Fri, 22 Apr 2016 15:31:40 +0000
(17:31 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Fri, 22 Apr 2016 15:31:40 +0000
(17:31 +0200)
Fixes: #2991
src/run/run.c
patch
|
blob
|
history
diff --git
a/src/run/run.c
b/src/run/run.c
index
1993a42
..
ff94ac7
100644
(file)
--- 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;