From: Greg Burri Date: Wed, 17 Mar 2021 20:52:48 +0000 (+0100) Subject: 'unix' -> 'linux' X-Git-Url: https://git.euphorik.ch/?a=commitdiff_plain;h=8688a849ec5e277bbbaf1860a621cae6d11f566b;p=valheim_web.git 'unix' -> 'linux' --- 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();