diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2014-04-03 14:25:48 +0800 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2014-04-03 14:25:48 +0800 |
commit | 5f206b3d7960b79a4c85067132caa7e7a29dfc59 (patch) | |
tree | 486cf077f71e49e6cb834e6bff15eba7df2fd187 /lib/process/process.c | |
parent | 71dfb52e615d66c0ed595f0c3b0f406deb959b63 (diff) | |
download | talos-petitboot-5f206b3d7960b79a4c85067132caa7e7a29dfc59.tar.gz talos-petitboot-5f206b3d7960b79a4c85067132caa7e7a29dfc59.zip |
lib/process: Add debug on process kill
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'lib/process/process.c')
-rw-r--r-- | lib/process/process.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/process/process.c b/lib/process/process.c index 081a48c..6e143e0 100644 --- a/lib/process/process.c +++ b/lib/process/process.c @@ -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); } |