summaryrefslogtreecommitdiff
path: root/src/core/transaction.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-01-25 22:33:33 +0100
committerLennart Poettering <lennart@poettering.net>2013-02-09 02:20:42 +0100
commitc65eb8365344eeb72ee2c0b333ab54d925263b3f (patch)
treed401f8fb3fc9bd51af74e3a6ddfec571c85f6b5c /src/core/transaction.c
parent97b5f608182773d7ef9ca18913085b3a3eccd943 (diff)
shutdown: issue a sync() as soon as shutdown.target is queued
Diffstat (limited to 'src/core/transaction.c')
-rw-r--r--src/core/transaction.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/transaction.c b/src/core/transaction.c
index 1854047afd..dbc30af7d1 100644
--- a/src/core/transaction.c
+++ b/src/core/transaction.c
@@ -620,6 +620,7 @@ static int transaction_apply(Transaction *tr, Manager *m, JobMode mode) {
job_add_to_run_queue(j);
job_add_to_dbus_queue(j);
job_start_timer(j);
+ job_shutdown_magic(j);
}
return 0;