diff options
-rw-r--r-- | kms/client/kms_client.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/kms/client/kms_client.c b/kms/client/kms_client.c index 2fef8e7..28922ff 100644 --- a/kms/client/kms_client.c +++ b/kms/client/kms_client.c @@ -332,9 +332,7 @@ void cleanup_socket(gsr_kms_client *self, bool kill_server) { } if(kill_server && self->kms_server_pid != -1) { - kill(self->kms_server_pid, SIGINT); - int status; - waitpid(self->kms_server_pid, &status, 0); + kill(self->kms_server_pid, SIGKILL); self->kms_server_pid = -1; } |