diff --git a/src/platform/linux.rs b/src/platform/linux.rs index 854c43a..7c31c09 100644 --- a/src/platform/linux.rs +++ b/src/platform/linux.rs @@ -11,7 +11,7 @@ use std::str::FromStr; const ROOT: &str = "/proc"; static KERNEL: Lazy> = Lazy::new(|| { - std::fs::read_to_string("/proc/sys/kernel/osreleas") + std::fs::read_to_string("/proc/sys/kernel/osrelease") .and_then(|s| { println!("KERNEL: {}",s); Ok(s.trim().to_owned())})