X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fcore%2Fslice.c;h=ae9819d015fefa8bbd1eec53e1cfd20da914d20f;hp=a31e629370e0b68b98349537b8471c30b9520805;hb=82a2b6bb5e4e5d294f09af778c48974a7857afb6;hpb=3ad85e3775d018f32098a2957ce25e1f53440da1 diff --git a/src/core/slice.c b/src/core/slice.c index a31e62937..ae9819d01 100644 --- a/src/core/slice.c +++ b/src/core/slice.c @@ -187,7 +187,7 @@ static int slice_start(Unit *u) { unit_realize_cgroup(u); slice_set_state(t, SLICE_ACTIVE); - return 0; + return 1; } static int slice_stop(Unit *u) { @@ -200,7 +200,7 @@ static int slice_stop(Unit *u) { * unit_notify() will do that for us anyway. */ slice_set_state(t, SLICE_DEAD); - return 0; + return 1; } static int slice_kill(Unit *u, KillWho who, int signo, sd_bus_error *error) {