summaryrefslogtreecommitdiff
path: root/src/core/service.c
diff options
context:
space:
mode:
authorDaniel Mack <github@zonque.org>2015-08-31 13:58:29 +0200
committerDaniel Mack <github@zonque.org>2015-08-31 13:58:29 +0200
commitd728d7faa6c60f185be72510d87bcc565bc0846a (patch)
tree4d2ed7404804998cbc10abf0419fac34719c57be /src/core/service.c
parentabab50081c8c12cc46482a43264deb46853bb8fa (diff)
parentdcd719908229479b0b6ec14d6c1362eb82b1bbf3 (diff)
Merge pull request #1093 from poettering/unified-prepare
A variety of clean-ups
Diffstat (limited to 'src/core/service.c')
-rw-r--r--src/core/service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/service.c b/src/core/service.c
index 097e7c710c..3c4232417d 100644
--- a/src/core/service.c
+++ b/src/core/service.c
@@ -556,7 +556,7 @@ static int service_add_extras(Service *s) {
if (r < 0)
return r;
- r = unit_add_default_slice(UNIT(s), &s->cgroup_context);
+ r = unit_set_default_slice(UNIT(s));
if (r < 0)
return r;