From: Iain Patterson Date: Mon, 13 Jan 2014 15:56:14 +0000 (+0000) Subject: s/stdout/stderr/ X-Git-Tag: v2.22~57 X-Git-Url: http://git.iain.cx/?p=nssm.git;a=commitdiff_plain;h=3509063391d4180797926408610608051a8ad626 s/stdout/stderr/ Again... --- diff --git a/service.cpp b/service.cpp index aee0a67..1c82a38 100644 --- a/service.cpp +++ b/service.cpp @@ -1474,7 +1474,7 @@ unsigned long WINAPI service_control_handler(unsigned long control, unsigned lon case NSSM_SERVICE_CONTROL_ROTATE: log_service_control(service->name, control, true); if (service->rotate_stdout_online) service->rotate_stdout_online = NSSM_ROTATE_ONLINE_ASAP; - if (service->rotate_stdout_online) service->rotate_stderr_online = NSSM_ROTATE_ONLINE_ASAP; + if (service->rotate_stderr_online) service->rotate_stderr_online = NSSM_ROTATE_ONLINE_ASAP; return NO_ERROR; }