Kill process with SIGKILL signal

An "adb push" command is not terminated by SIGTERM.
This commit is contained in:
Romain Vimont
2021-01-24 14:24:24 +01:00
parent 7afd149f4b
commit b566700bfd
+1 -1
View File
@@ -118,7 +118,7 @@ process_terminate(pid_t pid) {
(int) pid);
abort();
}
return kill(pid, SIGTERM) != -1;
return kill(pid, SIGKILL) != -1;
}
exit_code_t