blob: 459c9f400a4915ff1407c83e65575016e17d0cf3 [file] [log] [blame]
SunnySrivastava1984b59fd092020-02-03 09:58:56 -06001#include "config.h"
2
3#include "manager.hpp"
4
5#include <cstdlib>
6#include <exception>
7#include <iostream>
8#include <sdbusplus/bus.hpp>
9
10int main(int argc, char* argv[])
11{
12 try
13 {
14 openpower::vpd::manager::Manager vpdManager(
15 sdbusplus::bus::new_system(), BUSNAME, OBJPATH, IFACE);
16 vpdManager.run();
17 exit(EXIT_SUCCESS);
18 }
19 catch (const std::exception& e)
20 {
21 std::cerr << e.what() << "\n";
22 }
23 exit(EXIT_FAILURE);
24}