Kill process with SIGKILL signal

An "adb push" command is not terminated by SIGTERM.
This commit is contained in:
Romain Vimont 2021-01-22 19:21:35 +01:00
parent 7afd149f4b
commit b566700bfd

View file

@ -118,7 +118,7 @@ process_terminate(pid_t pid) {
(int) pid); (int) pid);
abort(); abort();
} }
return kill(pid, SIGTERM) != -1; return kill(pid, SIGKILL) != -1;
} }
exit_code_t exit_code_t