summaryrefslogtreecommitdiff
path: root/src/core/failure-action.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-11-12 19:52:31 +0100
committerLennart Poettering <lennart@poettering.net>2015-11-12 19:54:07 +0100
commit4bd29fe5cec9d744a4e39240c76b85d999bd2cf7 (patch)
tree57553ae6fc7fcfacdc08fd3daa8d7c77c48a5363 /src/core/failure-action.c
parentf32b43bda454a70ae23d6802605d41b26dc24ce2 (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/failure-action.c')
-rw-r--r--src/core/failure-action.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/failure-action.c b/src/core/failure-action.c
index c7c95984b7..c4da6ef37f 100644
--- a/src/core/failure-action.c
+++ b/src/core/failure-action.c
@@ -68,7 +68,7 @@ int failure_action(
log_and_status(m, "Rebooting as result of failure.");
update_reboot_param_file(reboot_arg);
- r = manager_add_job_by_name(m, JOB_START, SPECIAL_REBOOT_TARGET, JOB_REPLACE, true, &error, NULL);
+ r = manager_add_job_by_name(m, JOB_START, SPECIAL_REBOOT_TARGET, JOB_REPLACE, &error, NULL);
if (r < 0)
log_error("Failed to reboot: %s.", bus_error_message(&error, r));
@@ -101,7 +101,7 @@ int failure_action(
log_and_status(m, "Powering off as result of failure.");
- r = manager_add_job_by_name(m, JOB_START, SPECIAL_POWEROFF_TARGET, JOB_REPLACE, true, &error, NULL);
+ r = manager_add_job_by_name(m, JOB_START, SPECIAL_POWEROFF_TARGET, JOB_REPLACE, &error, NULL);
if (r < 0)
log_error("Failed to poweroff: %s.", bus_error_message(&error, r));