s/stdout/stderr/
authorIain Patterson <me@iain.cx>
Mon, 13 Jan 2014 15:56:14 +0000 (15:56 +0000)
committerIain Patterson <me@iain.cx>
Mon, 13 Jan 2014 15:56:14 +0000 (15:56 +0000)
Again...

service.cpp

index aee0a67..1c82a38 100644 (file)
@@ -1474,7 +1474,7 @@ unsigned long WINAPI service_control_handler(unsigned long control, unsigned lon
     case NSSM_SERVICE_CONTROL_ROTATE:\r
       log_service_control(service->name, control, true);\r
       if (service->rotate_stdout_online) service->rotate_stdout_online = NSSM_ROTATE_ONLINE_ASAP;\r
-      if (service->rotate_stdout_online) service->rotate_stderr_online = NSSM_ROTATE_ONLINE_ASAP;\r
+      if (service->rotate_stderr_online) service->rotate_stderr_online = NSSM_ROTATE_ONLINE_ASAP;\r
       return NO_ERROR;\r
   }\r
 \r