summaryrefslogtreecommitdiffhomepage
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 90efdcc..f458e24 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -70,10 +70,12 @@ fn main_0() -> Result<()> {
}
opt.set_opt()?;
splash_banner();
+ if !opt::daemon() {
+ platform::bootstrap()?;
+ }
let _guard = EnsureCleanup;
- platform::bootstrap()?;
platform::run()?;
Ok(())