daemon mode feature

This commit is contained in:
fireice-uk
2017-05-26 19:36:38 +01:00
parent 07ea73dbc3
commit 83762e5bed
6 changed files with 21 additions and 6 deletions
+1 -1
View File
@@ -153,7 +153,7 @@ int main(int argc, char *argv[])
if(strlen(jconf::inst()->GetOutputFile()) != 0)
printer::inst()->open_logfile(jconf::inst()->GetOutputFile());
executor::inst()->ex_start();
executor::inst()->ex_start(jconf::inst()->DaemonMode());
using namespace std::chrono;
uint64_t lastTime = time_point_cast<milliseconds>(high_resolution_clock::now()).time_since_epoch().count();