summaryrefslogtreecommitdiff
path: root/jobs.c
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-06-18 11:25:16 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-06-18 11:32:11 -0700
commit5414692efe92a9fb87cbcb374493102bca7424bc (patch)
treeeb62b179aed6658a74479b208de27dbfe95e3b58 /jobs.c
parentf726fb8698b59328fae9842a88e8a054ccddb45c (diff)
downloadvyatta-bash-5414692efe92a9fb87cbcb374493102bca7424bc.tar.gz
vyatta-bash-5414692efe92a9fb87cbcb374493102bca7424bc.zip
Shell command logging support
Log command exit to message queue for use by command logging daemons.
Diffstat (limited to 'jobs.c')
-rw-r--r--jobs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/jobs.c b/jobs.c
index 5e4b1f6..74ab627 100644
--- a/jobs.c
+++ b/jobs.c
@@ -3023,6 +3023,7 @@ waitchld (wpid, block)
if (PEXITED (child))
{
+ log_process_exit (child);
js.c_totreaped++;
if (job != NO_JOB)
js.c_reaped++;