Skip to content

Commit

Permalink
Change generic OK to return Type::FreeBSD
Browse files Browse the repository at this point in the history
  • Loading branch information
Todd Martin authored and Todd Martin committed May 19, 2022
1 parent 6d7a3e0 commit c0f9604
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion os_info/src/freebsd/mod.rs
Expand Up @@ -37,7 +37,7 @@ fn get_os() -> Type {
.expect("Failed to check if is hardened");
match str::from_utf8(&check_hardening.stderr) {
Ok("0\n") => Type::HardenedBSD,
Ok(_) => Type::Unknown,
Ok(_) => Type::FreeBSD,
Err(_) => Type::FreeBSD,
}
}
Expand Down

0 comments on commit c0f9604

Please sign in to comment.