diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-11-12 19:52:31 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-11-12 19:54:07 +0100 |
commit | 4bd29fe5cec9d744a4e39240c76b85d999bd2cf7 (patch) | |
tree | 57553ae6fc7fcfacdc08fd3daa8d7c77c48a5363 /src/core/timer.c | |
parent | f32b43bda454a70ae23d6802605d41b26dc24ce2 (diff) |
core: drop "override" flag when building transactions
Now that we don't have RequiresOverridable= and RequisiteOverridable=
dependencies anymore, we can get rid of tracking the "override" boolean
for jobs in the job engine, as it serves no purpose anymore.
While we are at it, fix some error messages we print when invoking
functions that take the override parameter.
Diffstat (limited to 'src/core/timer.c')
-rw-r--r-- | src/core/timer.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/timer.c b/src/core/timer.c index 06a6035315..51b1d875be 100644 --- a/src/core/timer.c +++ b/src/core/timer.c @@ -511,8 +511,7 @@ static void timer_enter_running(Timer *t) { if (unit_stop_pending(UNIT(t))) return; - r = manager_add_job(UNIT(t)->manager, JOB_START, UNIT_TRIGGER(UNIT(t)), - JOB_REPLACE, true, &error, NULL); + r = manager_add_job(UNIT(t)->manager, JOB_START, UNIT_TRIGGER(UNIT(t)), JOB_REPLACE, &error, NULL); if (r < 0) goto fail; |