Skip to content

Commit

Permalink
Bugfixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
gunnarbeutner committed Jul 3, 2012
1 parent d26d8e7 commit 57f0dcf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cib/service.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 57f0dcf

Please sign in to comment.