aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-10-28 17:44:44 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-11-04 09:26:36 +0200
commit934c157361eabf6d440c95d575aba24ebf1b445f (patch)
tree561cc79c393654eeaa768223db39e622d5525df5
parent1306e78c9852e150e133230a1f07eebb8b08c2a9 (diff)
Don't print "while updating ..." in quiet mode
-rw-r--r--build2/algorithm.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/build2/algorithm.cxx b/build2/algorithm.cxx
index 2a5b2d2..5d0e010 100644
--- a/build2/algorithm.cxx
+++ b/build2/algorithm.cxx
@@ -359,7 +359,9 @@ namespace build2
[a, &t]()
{
t.raw_state = target_state::failed;
- info << "while " << diag_doing (a, t);
+
+ if (verb != 0)
+ info << "while " << diag_doing (a, t);
}));
target_state ts (t.recipe (a) (a, t));