diff options
author | Colin Watson <cjwatson@debian.org> | 2003-09-21 01:18:06 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2003-09-21 01:18:06 +0000 |
commit | 0d46cbcbf8a8fe2fe83607c825cabf19c966fe31 (patch) | |
tree | 7586eeff2aa32bbf7bf25cc221957f0cef34da05 /lib/pipeline.c | |
parent | 3dad00c61e6932eb0a0d72b8f1904c776c09f592 (diff) |
* lib/pipeline.c (pipeline_start): Dump pipeline in debugging mode.
Diffstat (limited to 'lib/pipeline.c')
-rw-r--r-- | lib/pipeline.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/pipeline.c b/lib/pipeline.c index 53d3def3..ac2e987b 100644 --- a/lib/pipeline.c +++ b/lib/pipeline.c @@ -511,6 +511,11 @@ void pipeline_start (pipeline *p) assert (!p->pids); /* pipeline not started already */ assert (!p->statuses); + if (debug) { + fputs ("Starting pipeline: ", stderr); + pipeline_dump (p, stderr); + } + /* Add to the table of active pipelines, so that signal handlers * know what to do with exit statuses. Block SIGCHLD so that we can * do this safely. |