blob: 0b4a5fbc61688dc27823cadf90f3ff8a9d75de82 [file] [log] [blame]
#include "fru-fault-monitor.hpp"
int main(void)
{
/** @brief Dbus constructs used by Fault Monitor */
sdbusplus::bus::bus bus = sdbusplus::bus::new_default();
phosphor::led::fru::fault::monitor::Add monitor(bus);
/** @brief Wait for client requests */
while (true)
{
/** @brief process dbus calls / signals discarding unhandled */
bus.process_discard();
bus.wait();
}
return 0;
}