Bugfixes.

This commit is contained in:
Gunnar Beutner 2012-07-03 15:14:49 +02:00
parent d26d8e7bb7
commit 57f0dcf460
1 changed files with 4 additions and 0 deletions

View File

@ -192,6 +192,10 @@ bool Service::IsReachable(void) const
vector<Service>::iterator it;
for (it = parents.begin(); it != parents.end(); it++) {
/* ignore ourselves */
if (it->GetName() == GetName())
continue;
if (!it->IsReachable())
return false;
}