diff --git a/zowex/src/main.rs b/zowex/src/main.rs index 319ee04d9c..933a72d943 100644 --- a/zowex/src/main.rs +++ b/zowex/src/main.rs @@ -501,7 +501,9 @@ fn user_wants_daemon() -> bool { Err(_e) => env_var_val = "NoDaemon".to_string(), } - if env_var_val.to_lowercase() == "false" || env_var_val.to_lowercase() == "no" { + if env_var_val.to_lowercase() == "false" || env_var_val.to_lowercase() == "no" || + env_var_val == "0" + { return false } return true;