aboutsummaryrefslogtreecommitdiff
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, 4 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index 8bd9cf0..0cbfc4a 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -17,6 +17,10 @@ fn start() -> anyhow::Result<()> {
.into_string()
.expect("invalid unicode in file name");
+ if service_name == "init" {
+ continue;
+ }
+
match Command::new(service.path()).spawn() {
Ok(_) => {
stdout.set_color(ColorSpec::new().set_fg(Some(Color::Green)))?;