Kill kms server instead of sigint, fixes being stuck with pkexec
This commit is contained in:
parent
2cbcde19f6
commit
9e6f6f67d0
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user