summaryrefslogtreecommitdiffstats
path: root/src/build_log.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/build_log.cc')
-rw-r--r--src/build_log.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/build_log.cc b/src/build_log.cc
index cf21182..792d1a3 100644
--- a/src/build_log.cc
+++ b/src/build_log.cc
@@ -291,9 +291,9 @@ LoadStatus BuildLog::Load(const string& path, string* err) {
if (invalid_log_version) {
fclose(file);
unlink(path.c_str());
- // Don't report this as a failure. An empty build log will cause
+ // Don't report this as a failure. A missing build log will cause
// us to rebuild the outputs anyway.
- return LOAD_SUCCESS;
+ return LOAD_NOT_FOUND;
}
}