lib/process: Add debug on process kill
[petitboot] / lib / process / process.c
index 081a48ca36ba27ac37eb1a83888eaec281d635b0..6e143e0e4784e086b9f171bdb61d670e31efe523 100644 (file)
@@ -409,6 +409,7 @@ int process_run_async(struct process *process)
 
 void process_stop_async(struct process *process)
 {
+       pb_debug("process: sending SIGTERM to pid %d\n", process->pid);
        kill(process->pid, SIGTERM);
 }