aboutsummaryrefslogtreecommitdiffhomepage
path: root/exec.c
diff options
context:
space:
mode:
authorGravatar liljencrantz <liljencrantz@gmail.com>2007-09-24 18:18:23 +1000
committerGravatar liljencrantz <liljencrantz@gmail.com>2007-09-24 18:18:23 +1000
commite6764f3130c3b7718b11b1cf0b1d0c04a22af0a8 (patch)
tree995f2ab725bbe8e3a29491617595187dffd3d82c /exec.c
parent710a01c9457756790fb4dffe36f1cd340f4a685f (diff)
Improve commenting a bit
darcs-hash:20070924081823-75c98-20dee07adff34f2337c56b30f1e453cc38f40639.gz
Diffstat (limited to 'exec.c')
-rw-r--r--exec.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/exec.c b/exec.c
index c1719e27..30113a4f 100644
--- a/exec.c
+++ b/exec.c
@@ -885,10 +885,13 @@ void exec( job_t *j )
signal_block();
/*
- See if we need to create a group keepalive process. This is a
- process that we create to make sure that the process group
- doesn't die accidentally, and is needed when a block/function is
- inside a pipeline.
+ See if we need to create a group keepalive process. This is
+ a process that we create to make sure that the process group
+ doesn't die accidentally, and is often needed when a
+ builtin/block/function is inside a pipeline, since that
+ usually means we have to wait for one program to exit before
+ continuing in the pipeline, causing the group leader to
+ exit.
*/
if( job_get_flag( j, JOB_CONTROL ) )
@@ -904,6 +907,7 @@ void exec( job_t *j )
break;
}
}
+
}
}