mirror of
https://github.com/openvswitch/ovs
synced 2025-08-30 13:58:14 +00:00
windows: Set service status when stop is issued
If the service manager issued a stop service, the control handler registered by the running daemon should report that service changed state. Signed-off-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
This commit is contained in:
parent
bb37956ac0
commit
e2d12c07df
@ -198,6 +198,7 @@ control_handler(DWORD request)
|
||||
service_status.dwCurrentState = SERVICE_STOPPED;
|
||||
service_status.dwWin32ExitCode = NO_ERROR;
|
||||
SetEvent(wevent);
|
||||
SetServiceStatus(hstatus, &service_status);
|
||||
break;
|
||||
|
||||
default:
|
||||
|
Loading…
x
Reference in New Issue
Block a user