summaryrefslogtreecommitdiff
path: root/src/dbus-unit.c
diff options
context:
space:
mode:
authorMatthew Miller <mattdm@mattdm.org>2010-08-31 00:23:34 +0200
committerLennart Poettering <lennart@poettering.net>2010-08-31 00:23:34 +0200
commitfdf20a316035779bbec469e11d73c7544acbf30f (patch)
treec99f2d7a60e5816ff554c48bcfbe497d0c22a30d /src/dbus-unit.c
parent74ac3cbd509de2f5995542aa5db39328e8cbd22a (diff)
manager: add missing second part of s/maintenance/failed/
Diffstat (limited to 'src/dbus-unit.c')
-rw-r--r--src/dbus-unit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dbus-unit.c b/src/dbus-unit.c
index eab816ac93..b65481d193 100644
--- a/src/dbus-unit.c
+++ b/src/dbus-unit.c
@@ -367,9 +367,9 @@ static DBusHandlerResult bus_unit_message_dispatch(Unit *u, DBusConnection *conn
} else if (dbus_message_is_method_call(message, "org.freedesktop.systemd1.Unit", "ReloadOrTryRestart")) {
reload_if_possible = true;
job_type = JOB_TRY_RESTART;
- } else if (dbus_message_is_method_call(message, "org.freedesktop.systemd1.Unit", "ResetMaintenance")) {
+ } else if (dbus_message_is_method_call(message, "org.freedesktop.systemd1.Unit", "ResetFailed")) {
- unit_reset_maintenance(u);
+ unit_reset_failed(u);
if (!(reply = dbus_message_new_method_return(message)))
goto oom;