From 6982656f2d40ff0efc9fb8f96dae4ff12055f0e9 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Mon, 6 Aug 2012 14:14:28 +0200 Subject: [PATCH] Ignore service reachability for status.dat output. --- components/compat/compatcomponent.cpp | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/components/compat/compatcomponent.cpp b/components/compat/compatcomponent.cpp index c1c51e871..70d5c0fc6 100644 --- a/components/compat/compatcomponent.cpp +++ b/components/compat/compatcomponent.cpp @@ -120,17 +120,6 @@ void CompatComponent::DumpServiceStatus(ofstream& fp, const Service::Ptr& servic 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) state = StateUnknown;