[icinga-checkins] icinga.org: icinga2/master: Use correct File for GetIcingaUser

git at icinga.org git at icinga.org
Wed Oct 5 15:05:54 CEST 2016


Module: icinga2
Branch: master
Commit: 0dcda6cc3c17e96e33341e9ce9a825fc616ae2c2
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=0dcda6cc3c17e96e33341e9ce9a825fc616ae2c2

Author: Jean Flach <jean-marcel.flach at netways.de>
Date:   Fri Sep 30 13:59:51 2016 +0200

Use correct File for GetIcingaUser

Also remove debug sleep

refs #9119

---

 icinga-app/icinga.cpp |    2 --
 1 file changed, 2 deletions(-)

diff --git a/icinga-app/icinga.cpp b/icinga-app/icinga.cpp
index ae28bbb..b16480d 100644
--- a/icinga-app/icinga.cpp
+++ b/icinga-app/icinga.cpp
@@ -642,7 +642,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];
@@ -733,7 +732,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) {



More information about the icinga-checkins mailing list