summaryrefslogtreecommitdiff
path: root/init/src/main.rs
blob: bfcef87f39fb2b55009a7c3ec357bfd5fdf5cf9b (plain)
1
2
3
4
5
6
7
8
9
10
mod mounts;
mod pid_one;

use crate::pid_one::check_pid;

fn main() -> Result<(), Box<dyn std::error::Error>> {
    println!("Initializing your system.");
    check_pid().expect("Runned not as PID 1.");
    Ok(())
}