From: AlexChen <alex.c...@huawei.com> Reported-by: Euler Robot <euler.ro...@huawei.com> Signed-off-by: AlexChen <alex.c...@huawei.com> Reviewed-by: Marc-André Lureau <marcandre.lur...@redhat.com> Signed-off-by: Michael Roth <michael.r...@amd.com> --- qga/main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/qga/main.c b/qga/main.c index 560490467b..20db0058db 100644 --- a/qga/main.c +++ b/qga/main.c @@ -686,8 +686,7 @@ DWORD WINAPI service_ctrl_handler(DWORD ctrl, DWORD type, LPVOID data, DWORD ret = NO_ERROR; GAService *service = &ga_state->service; - switch (ctrl) - { + switch (ctrl) { case SERVICE_CONTROL_STOP: case SERVICE_CONTROL_SHUTDOWN: quit_handler(SIGTERM); -- 2.25.1