summaryrefslogtreecommitdiff
path: root/src/manager.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-08-30 23:51:52 +0200
committerLennart Poettering <lennart@poettering.net>2010-08-30 23:51:52 +0200
commitc88e7f4e57fcef7998dcd570e8a8866c5116f0de (patch)
tree16d624e94b18136dcb6d4c41711ae3e5d2ac2dd5 /src/manager.c
parentda726a4d4dc324b35c703fd2dc5f60b460ce8091 (diff)
manager: don't try to minimize transaction when using isolate
We should not avoid stopping services when using isolate, since that kinda defeats the point of it. http://bugzilla.redhat.com/show_bug.cgi?id=627014
Diffstat (limited to 'src/manager.c')
-rw-r--r--src/manager.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/manager.c b/src/manager.c
index f542883b34..eada82a248 100644
--- a/src/manager.c
+++ b/src/manager.c
@@ -1226,7 +1226,8 @@ static int transaction_activate(Manager *m, JobMode mode, DBusError *e) {
/* Second step: Try not to stop any running services if
* we don't have to. Don't try to reverse running
* jobs if we don't have to. */
- transaction_minimize_impact(m);
+ if (mode != JOB_ISOLATE)
+ transaction_minimize_impact(m);
/* Third step: Drop redundant jobs */
transaction_drop_redundant(m);