health: do not say "initializing LEDs" when not initializing them
Change-Id: I920b028e06e69f49f2605a1ccfc61b44c874ebab
diff --git a/src/main-health.cpp b/src/main-health.cpp
index f7cb598..fcf96fc 100644
--- a/src/main-health.cpp
+++ b/src/main-health.cpp
@@ -77,8 +77,8 @@
auto manager = std::make_shared<velia::health::StateManager>();
// output configuration
- spdlog::get("main")->debug("Initializing LED drivers");
if (const auto& appliance = args["--appliance"]) {
+ spdlog::get("main")->debug("Initializing LED drivers");
manager->m_outputSignal.connect(velia::health::createOutput(appliance.asString()));
}