diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-04-18 15:08:40 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-04-18 15:08:40 +0200 |
commit | cf750a234613d0af4a4c6c411ab6eea5ba6a219b (patch) | |
tree | 1d5f1b3bddbc09fadda2a63b41fa78a3a42b4c28 /bbot/worker.cxx | |
parent | 2d8dc6c905dbde7da2d324a559d08af77231d062 (diff) |
Add --trust agent option
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); |