aboutsummaryrefslogtreecommitdiff
path: root/kms
diff options
context:
space:
mode:
Diffstat (limited to 'kms')
-rw-r--r--kms/client/kms_client.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/kms/client/kms_client.c b/kms/client/kms_client.c
index 8e1dafb..b2b153f 100644
--- a/kms/client/kms_client.c
+++ b/kms/client/kms_client.c
@@ -323,9 +323,7 @@ void cleanup_initial_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;
}