diff options
Diffstat (limited to 'src/or/main.c')
-rw-r--r-- | src/or/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/main.c b/src/or/main.c index ffeeae5cf..67188167e 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -1081,7 +1081,7 @@ void nt_service_body(int argc, char **argv) fclose(f); service_status.dwServiceType = SERVICE_WIN32; service_status.dwCurrentState = SERVICE_START_PENDING; - service_status.dwControlsAccepted = + service_status.dwControlsAccepted = SERVICE_ACCEPT_STOP | SERVICE_ACCEPT_SHUTDOWN; service_status.dwWin32ExitCode = 0; |