Compare commits
2 Commits
a5dd011506
...
b7583f4db0
Author | SHA1 | Date |
---|---|---|
Ian Wijma | b7583f4db0 | |
Ian Wijma | 9392325115 |
|
@ -7,3 +7,10 @@ edition = "2021"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
clap = { version = "4.4.8", features = ["derive", "unicode", "wrap_help"] }
|
clap = { version = "4.4.8", features = ["derive", "unicode", "wrap_help"] }
|
||||||
|
|
||||||
|
[profile.release]
|
||||||
|
strip = true # Automatically strip symbols from the binary.
|
||||||
|
opt-level = "z" # Optimize for size.
|
||||||
|
lto = true
|
||||||
|
codegen-units = 1
|
||||||
|
|
||||||
|
|
|
@ -120,7 +120,7 @@ fn run_command(retry: &mut Retry) {
|
||||||
println!("Restarting...");
|
println!("Restarting...");
|
||||||
restart(retry);
|
restart(retry);
|
||||||
} else {
|
} else {
|
||||||
print!("The process has crashed more then {} times in the past {}, stop restarting", retry.max_retries, retry.restart_name);
|
print!("The process has crashed more then {} times in the past {}, stop restarting\n", retry.max_retries, retry.restart_name);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue