diff options
Diffstat (limited to 'bbot/worker.cxx')
-rw-r--r-- | bbot/worker.cxx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/bbot/worker.cxx b/bbot/worker.cxx index 87dfdb4..0212d26 100644 --- a/bbot/worker.cxx +++ b/bbot/worker.cxx @@ -481,12 +481,8 @@ try verb = ops.verbose (); if (ops.systemd_daemon ()) - { systemd_diagnostics (false); - info << "bbot worker " << BBOT_VERSION_STR; - } - // Version. // if (ops.version ()) @@ -522,6 +518,11 @@ try if (ops.bootstrap ()) m = mode::boot; if (ops.startup ()) m = mode::start; + if (ops.systemd_daemon ()) + { + info << "bbot worker " << BBOT_VERSION_STR; + } + // Figure out our path (used for re-exec). // argv0 = process::path_search (argv[0], true); |