From 8688a849ec5e277bbbaf1860a621cae6d11f566b Mon Sep 17 00:00:00 2001 From: Greg Burri Date: Wed, 17 Mar 2021 21:52:48 +0100 Subject: [PATCH] 'unix' -> 'linux' --- backend/src/valheim_controller.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/valheim_controller.rs b/backend/src/valheim_controller.rs index 04f75a4..79b92b3 100644 --- a/backend/src/valheim_controller.rs +++ b/backend/src/valheim_controller.rs @@ -72,7 +72,7 @@ fn format_byte_size(bytes: u64, precision: usize) -> String { const VALHEIM_PROCESS_NAME: &str = "valheim_server"; -#[cfg(target_os = "unix")] +#[cfg(target_os = "linux")] fn get_number_of_players() -> u32 { let mut journal = journal::OpenOptions::default().current_user(true).open().unwrap(); -- 2.45.2