From 7596e9e10a433c2104a2616dd8dd429a4243e38a Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 12 Dec 2013 03:03:03 +0100 Subject: service: actually leave watchdog enabled in the states where it matters --- src/core/service.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/service.c') diff --git a/src/core/service.c b/src/core/service.c index 4c7603c069..67d20085e9 100644 --- a/src/core/service.c +++ b/src/core/service.c @@ -1513,7 +1513,7 @@ static void service_set_state(Service *s, ServiceState state) { service_connection_unref(s); } - if (IN_SET(state, SERVICE_START_POST, SERVICE_RUNNING, SERVICE_RELOAD)) + if (!IN_SET(state, SERVICE_START_POST, SERVICE_RUNNING, SERVICE_RELOAD)) service_stop_watchdog(s); /* For the inactive states unit_notify() will trim the cgroup, -- cgit v1.2.3-54-g00ecf