summaryrefslogtreecommitdiffstats
path: root/src/ninja.cc
diff options
context:
space:
mode:
authorEvan Martin <martine@danga.com>2011-01-23 20:00:55 (GMT)
committerEvan Martin <martine@danga.com>2011-01-23 20:00:55 (GMT)
commit791f0634684f157f7ed443165ac9985f2c04f8ed (patch)
tree8c9427cdf6b0827216445e82b8682b6ea658db69 /src/ninja.cc
parent8a95f48ad50c380cc8d30e7cd6720535547ca2dd (diff)
downloadNinja-791f0634684f157f7ed443165ac9985f2c04f8ed.zip
Ninja-791f0634684f157f7ed443165ac9985f2c04f8ed.tar.gz
Ninja-791f0634684f157f7ed443165ac9985f2c04f8ed.tar.bz2
move dry run info inside build log
Diffstat (limited to 'src/ninja.cc')
-rw-r--r--src/ninja.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ninja.cc b/src/ninja.cc
index 608297e..dc878d0 100644
--- a/src/ninja.cc
+++ b/src/ninja.cc
@@ -181,7 +181,7 @@ int main(int argc, char** argv) {
return 1;
}
- if (!config.dry_run && !build_log.OpenForWrite(kLogPath, &err)) {
+ if (!build_log.OpenForWrite(kLogPath, &err)) {
fprintf(stderr, "error opening build log: %s\n", err.c_str());
return 1;
}