X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=service.cpp;h=94cca765d5e6239a992f636b61cd09c4d41d90c9;hb=2294db794e6dfd5698fe57d135cd0da67aca95b0;hp=30a75d3d4cccf06003cf175b23f01e561133a336;hpb=f19cfcff2e3d38edcb4eae59e19b2373ba8d4044;p=nssm.git diff --git a/service.cpp b/service.cpp index 30a75d3..94cca76 100644 --- a/service.cpp +++ b/service.cpp @@ -506,7 +506,7 @@ int stop_service(nssm_service_t *service, unsigned long exitcode, bool graceful, } if (default_action && ! exitcode && ! graceful) { - log_event(EVENTLOG_INFORMATION_TYPE, NSSM_EVENT_GRACEFUL_SUICIDE, service->name, service->exe, exit_action_strings[NSSM_EXIT_UNCLEAN], exit_action_strings[NSSM_EXIT_UNCLEAN], exit_action_strings[NSSM_EXIT_UNCLEAN], exit_action_strings[NSSM_EXIT_REALLY] ,0); + log_event(EVENTLOG_INFORMATION_TYPE, NSSM_EVENT_GRACEFUL_SUICIDE, service->name, service->exe, exit_action_strings[NSSM_EXIT_UNCLEAN], exit_action_strings[NSSM_EXIT_UNCLEAN], exit_action_strings[NSSM_EXIT_UNCLEAN], exit_action_strings[NSSM_EXIT_REALLY], 0); graceful = true; }