aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2023-11-18 14:29:45 +0100
committerdec05eba <dec05eba@protonmail.com>2023-11-18 14:29:45 +0100
commitba111dc73a67eea1d20e2221177e1f9da6294389 (patch)
tree8b58ddc3ffee103cc827ac1f988f44381b20d631
parent64095e733a03b5e300f952ca39ab0faf5d4908ed (diff)
sigkill kms server
-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 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;
}