From 644b44be44aa40a4ceb39e064505debe722b357e Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Mon, 20 Jul 2009 10:10:19 +0000 Subject: [PATCH] If command fails, print its output even for -d0. [SVN r55042] --- historic/jam/src/output.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/historic/jam/src/output.c b/historic/jam/src/output.c index ae20013f8..483c6ca9e 100644 --- a/historic/jam/src/output.c +++ b/historic/jam/src/output.c @@ -78,8 +78,8 @@ void out_action break; } - /* Print out the command output, if requested. */ - if ( action ) + /* Print out the command output, if requested, or if the program failed. */ + if ( action || exit_reason != EXIT_OK) { /* But only output for non-quietly actions. */ if ( ( 0 != out_data ) &&