Ignore service reachability for status.dat output.

This commit is contained in:
Gunnar Beutner 2012-08-06 14:14:28 +02:00
parent 4d02780f4c
commit 6982656f2d
1 changed files with 0 additions and 11 deletions

View File

@ -120,17 +120,6 @@ void CompatComponent::DumpServiceStatus(ofstream& fp, const Service::Ptr& servic
int state = service->GetState(); int state = service->GetState();
if (!service->IsReachable()) {
state = StateCritical;
String text = "One or more parent services are unavailable.";
if (output.IsEmpty())
output = text;
else
output = text + " (" + output + ")";
}
if (state > StateUnknown) if (state > StateUnknown)
state = StateUnknown; state = StateUnknown;