diff options
Diffstat (limited to 'src/daemonizer')
-rw-r--r-- | src/daemonizer/posix_daemonizer.inl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemonizer/posix_daemonizer.inl b/src/daemonizer/posix_daemonizer.inl index c07b96c55..5675fd72d 100644 --- a/src/daemonizer/posix_daemonizer.inl +++ b/src/daemonizer/posix_daemonizer.inl @@ -74,9 +74,9 @@ namespace daemonizer { if (command_line::has_arg(vm, arg_detach)) { - auto daemon = executor.create_daemon(vm); tools::success_msg_writer() << "Forking to background..."; posix::fork(); + auto daemon = executor.create_daemon(vm); return daemon.run(); } else |