lib/process: Add debug on process kill
authorJeremy Kerr <jk@ozlabs.org>
Thu, 3 Apr 2014 06:25:48 +0000 (14:25 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Thu, 3 Apr 2014 06:25:48 +0000 (14:25 +0800)
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
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);
 }