From 407668bde78df7731f68b21c1aa18d8569ae169f Mon Sep 17 00:00:00 2001 From: Davin McCall Date: Thu, 31 Dec 2015 23:28:48 +0000 Subject: [PATCH] Fix: when a dependency failed, the dependent process was not marked as inactive. --- service.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/service.cc b/service.cc index 7fb8126..ddb5328 100644 --- a/service.cc +++ b/service.cc @@ -425,6 +425,7 @@ void ServiceRecord::failed_dependency() // Presumably, we were starting. So now we're not. service_state = ServiceState::STOPPED; + service_set->service_inactive(this); // Notify dependents of this service also for (auto i = dependents.begin(); i != dependents.end(); i++) { -- 2.25.1