Files
rust-discovery/crates/time-broker-linux/src/main.rs
T
2026-11-15 00:45:05 +01:00

13 lines
417 B
Rust

fn main() {
// This fixed executable has no configuration/path/command arguments.
if std::env::args_os().len() != 1 {
eprintln!("TIME_BROKER_NO_ARGUMENTS");
std::process::exit(2);
}
if rmm_time_broker_linux::run().is_err() {
// Never format configuration, request, key material or nested errors.
eprintln!("TIME_BROKER_STOPPED");
std::process::exit(1);
}
}