projects
/
valheim_web.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28dede5
)
'unix' -> 'linux'
author
Greg Burri
<greg.burri@gmail.com>
Wed, 17 Mar 2021 20:52:48 +0000
(21:52 +0100)
committer
Greg Burri
<greg.burri@gmail.com>
Wed, 17 Mar 2021 20:52:48 +0000
(21:52 +0100)
backend/src/valheim_controller.rs
patch
|
blob
|
history
diff --git
a/backend/src/valheim_controller.rs
b/backend/src/valheim_controller.rs
index
04f75a4
..
79b92b3
100644
(file)
--- 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 {
\r
const VALHEIM_PROCESS_NAME: &str = "valheim_server";
\r
\r
-#[cfg(target_os = "
uni
x")]
\r
+#[cfg(target_os = "
linu
x")]
\r
fn get_number_of_players() -> u32 {
\r
let mut journal =
\r
journal::OpenOptions::default().current_user(true).open().unwrap();
\r