diff --git a/src/functions/network.rs b/src/functions/network.rs index 43c4172..15c7689 100755 --- a/src/functions/network.rs +++ b/src/functions/network.rs @@ -1,7 +1,7 @@ use crate::internal::*; pub fn set_hostname(mut hostname: &str) { - if hostname == "---------" { + if hostname == "" { hostname = "crystal"; } println!("Setting hostname to {}", hostname);