Skip to content

Commit 02cca9a

Browse files
committed
Fix key_fallback usage.
1 parent 3f403d3 commit 02cca9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tunet-settings/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ impl SettingsReader {
5656
}
5757

5858
fn entry(u: &str) -> SettingsResult<Entry> {
59-
if true {
59+
if cfg!(target_os = "linux") {
6060
Ok(Entry::new_with_credential(Box::new(
6161
key_fallback::KeyFallback::new(TUNET_NAME, u)?,
6262
)))

0 commit comments

Comments
 (0)