diff options
author | dec05eba <dec05eba@protonmail.com> | 2023-11-18 14:15:54 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2023-11-18 14:15:54 +0100 |
commit | 9e6f6f67d062db7b70e32061ad68aba687dd1b08 (patch) | |
tree | 6662941d720984fd82ada372f2a2bc36d6319570 /kms | |
parent | 2cbcde19f62970a8da308d5b128b2b2d7c725077 (diff) |
Kill kms server instead of sigint, fixes being stuck with pkexec
Diffstat (limited to 'kms')
-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 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; } |