blob: 459c9f400a4915ff1407c83e65575016e17d0cf3 [file] [log] [blame]
#include "config.h"
#include "manager.hpp"
#include <cstdlib>
#include <exception>
#include <iostream>
#include <sdbusplus/bus.hpp>
int main(int argc, char* argv[])
{
try
{
openpower::vpd::manager::Manager vpdManager(
sdbusplus::bus::new_system(), BUSNAME, OBJPATH, IFACE);
vpdManager.run();
exit(EXIT_SUCCESS);
}
catch (const std::exception& e)
{
std::cerr << e.what() << "\n";
}
exit(EXIT_FAILURE);
}