diff --git a/cib/service.cpp b/cib/service.cpp index f15e30de1..aa5d959fc 100644 --- a/cib/service.cpp +++ b/cib/service.cpp @@ -192,6 +192,10 @@ bool Service::IsReachable(void) const vector::iterator it; for (it = parents.begin(); it != parents.end(); it++) { + /* ignore ourselves */ + if (it->GetName() == GetName()) + continue; + if (!it->IsReachable()) return false; }