aboutsummaryrefslogtreecommitdiff
path: root/build2/algorithm.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/algorithm.cxx')
-rw-r--r--build2/algorithm.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/algorithm.cxx b/build2/algorithm.cxx
index 17c2184..fc7ef88 100644
--- a/build2/algorithm.cxx
+++ b/build2/algorithm.cxx
@@ -1460,7 +1460,7 @@ namespace build2
//
if (tr != target_state::changed && er == target_state::changed)
{
- if (verb > 0 && verb < 3)
+ if (verb > (current_diag_noise ? 0 : 1) && verb < 3)
{
if (ed)
text << "rm -r " << path_cast<dir_path> (ep);