summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--project2/daemon/p2daemonMain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/project2/daemon/p2daemonMain.cpp b/project2/daemon/p2daemonMain.cpp
index 606945d..98dc7ac 100644
--- a/project2/daemon/p2daemonMain.cpp
+++ b/project2/daemon/p2daemonMain.cpp
@@ -49,10 +49,10 @@ main(int argc, char ** argv)
OptionsSource::loadSources([] { return DaemonAppEngine::reqPlatform;} );
//Plugable::onAllComponents(boost::bind(&ComponentLoader::onBefore, _1));
- DaemonAppEngine dae(argc, argv);
if (DaemonAppEngine::daemonize) {
daemonize();
}
+ DaemonAppEngine dae(argc, argv);
dae.process();
//Plugable::onAllComponents(boost::bind(&ComponentLoader::onIteration, _1));