summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/driver.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/driver.cc b/kernel/driver.cc
index cdf78460..b7cb414c 100644
--- a/kernel/driver.cc
+++ b/kernel/driver.cc
@@ -334,6 +334,10 @@ int main(int argc, char **argv)
log_hasher = nullptr;
log_spacer();
+
+ if (log_errfile != NULL && timing_details)
+ log_files.push_back(stderr);
+
#ifdef _WIN32
log("End of script. Logfile hash: %s\n", hash.c_str());
#else