Fixed the Unix implementation

This commit is contained in:
Thorsten Sommer 2025-05-31 19:00:40 +02:00
parent d02d6b5870
commit ea3271bc0c
No known key found for this signature in database
GPG Key ID: B0B7E2FC074BF1F5

View File

@ -135,7 +135,7 @@ fn get_enterprise_configuration(reg_value: &str, env_name: &str) -> Option<Strin
} }
} else { } else {
// In the case of macOS or Linux, we just read the environment variable: // In the case of macOS or Linux, we just read the environment variable:
info!(r"Detected a Unix machine, trying to read the environment variable '{}'.", env_name) info!(r"Detected a Unix machine, trying to read the environment variable '{}'.", env_name);
env::var(env_name).ok() env::var(env_name).ok()
} }
} }