diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-02-18 22:51:23 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-02-20 22:42:29 +0100 |
commit | 1b4cd0cf11feb7d41f2eff17f86fa55b31bb6841 (patch) | |
tree | 6a88edf8e36ecc346ea9384363a37b1d35ee2c26 /src/core/scope.c | |
parent | 36c7d7097b2967f6d8b799f94f5eab92f66c5462 (diff) |
core: exclude .slice units from "systemctl isolate"
Fixes: #1969
Diffstat (limited to 'src/core/scope.c')
-rw-r--r-- | src/core/scope.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/scope.c b/src/core/scope.c index c5d0ecef04..361695c3f9 100644 --- a/src/core/scope.c +++ b/src/core/scope.c @@ -50,8 +50,7 @@ static void scope_init(Unit *u) { assert(u->load_state == UNIT_STUB); s->timeout_stop_usec = u->manager->default_timeout_stop_usec; - - UNIT(s)->ignore_on_isolate = true; + u->ignore_on_isolate = true; } static void scope_done(Unit *u) { |