13 lines
417 B
Rust
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);
|
|
}
|
|
}
|