print timing details (-d) in -q mode
authorClifford Wolf <clifford@clifford.at>
Tue, 30 Dec 2014 21:31:04 +0000 (22:31 +0100)
committerClifford Wolf <clifford@clifford.at>
Tue, 30 Dec 2014 21:31:04 +0000 (22:31 +0100)
kernel/driver.cc

index cdf78460251aa830a11433bdd7ae95dac2d6dc13..b7cb414cee3a2f276606c6c9ce58f12225bf697a 100644 (file)
@@ -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