Improve commenting a bit

darcs-hash:20070924081823-75c98-20dee07adff34f2337c56b30f1e453cc38f40639.gz
This commit is contained in:
liljencrantz
2007-09-24 18:18:23 +10:00
parent 710a01c945
commit e6764f3130
2 changed files with 19 additions and 13 deletions

12
exec.c
View File

@@ -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;
}
}
}
}