X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=service.cpp;h=1c82a38ae8d4c52c6b50b645e0000277c604b447;hb=3509063391d4180797926408610608051a8ad626;hp=aee0a675dd7799c369afe685ef0c47c3be87cc76;hpb=23bed76e3a4b8a407a58ec8e1422de90fc750ab3;p=nssm.git 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; }