From: Davin McCall Date: Thu, 31 Dec 2015 23:28:48 +0000 (+0000) Subject: Fix: when a dependency failed, the dependent process was not marked X-Git-Tag: v0.01~78 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=407668bde78df7731f68b21c1aa18d8569ae169f;p=oweals%2Fdinit.git Fix: when a dependency failed, the dependent process was not marked as inactive. --- 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++) {