projects
/
oweals
/
dinit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0fe897
)
Fix: when a dependency failed, the dependent process was not marked
author
Davin McCall
<davmac@davmac.org>
Thu, 31 Dec 2015 23:28:48 +0000
(23:28 +0000)
committer
Davin McCall
<davmac@davmac.org>
Thu, 31 Dec 2015 23:28:48 +0000
(23:28 +0000)
as inactive.
service.cc
patch
|
blob
|
history
diff --git
a/service.cc
b/service.cc
index 7fb812625a8e7c54e492d68840d1c8c236cd7587..ddb5328a5d26746349c43d861a875483c2b82956 100644
(file)
--- 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++) {