Skip to content

Commit

Permalink
Use correct File for GetIcingaUser
Browse files Browse the repository at this point in the history
Also remove debug sleep

refs #9119
  • Loading branch information
Crunsher committed Sep 30, 2016
1 parent ce8b5c7 commit 24b0431
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions icinga-app/icinga.cpp
Expand Up @@ -646,7 +646,6 @@ VOID WINAPI ServiceMain(DWORD argc, LPSTR *argv)

ReportSvcStatus(SERVICE_RUNNING, NO_ERROR, 0);
l_Job = CreateJobObject(NULL, NULL);
Utility::Sleep(15);

for (;;) {
LPSTR arg = argv[0];
Expand Down Expand Up @@ -737,7 +736,6 @@ int main(int argc, char **argv)
/* Set command-line arguments. */
Application::SetArgC(argc);
Application::SetArgV(argv);
Utility::Sleep(15);

#ifdef _WIN32
if (argc > 1 && strcmp(argv[1], "--scm-install") == 0) {
Expand Down

0 comments on commit 24b0431

Please sign in to comment.