File: ntp-daemon.rs

package info (click to toggle)
rust-ntpd 1.6.2-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,900 kB
  • sloc: sh: 57; makefile: 34
file content (8 lines) | stat: -rw-r--r-- 151 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
#![forbid(unsafe_code)]

use std::process;

fn main() {
    let result = ntpd::daemon_main();
    process::exit(if result.is_ok() { 0 } else { 1 });
}