diff options
Diffstat (limited to 'server-tools/instance-manager/IMService.cpp')
-rw-r--r-- | server-tools/instance-manager/IMService.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/server-tools/instance-manager/IMService.cpp b/server-tools/instance-manager/IMService.cpp index 3093147bccf..f9ea7ee471d 100644 --- a/server-tools/instance-manager/IMService.cpp +++ b/server-tools/instance-manager/IMService.cpp @@ -30,15 +30,14 @@ void IMService::Run(DWORD argc, LPTSTR *argv) // report to the SCM that we're about to start ReportStatus((DWORD)SERVICE_START_PENDING); - Options o; - o.load(argc, argv); + Options::load(argc, argv); // init goes here ReportStatus((DWORD)SERVICE_RUNNING); // wait for main loop to terminate - manager(o); - o.cleanup(); + manager(); + Options::cleanup(); } void IMService::Log(const char *msg) |