blob: fce02b48ffaa88722af816df305f9be4449b41c9 [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);
}