summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--remake.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/remake.c b/remake.c
index e619b44..cab83d9 100644
--- a/remake.c
+++ b/remake.c
@@ -639,7 +639,7 @@ notice_finished_file (file)
f->last_mtime = file->last_mtime;
}
- if (file->update_status != -1)
+ if (ran && file->update_status != -1)
/* We actually tried to update FILE, which has
updated its also_make's as well (if it worked).
If it didn't work, it wouldn't work again for them.