diff options
Diffstat (limited to 'src/hbbr.rs')
-rw-r--r-- | src/hbbr.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hbbr.rs b/src/hbbr.rs index 49d449c..4c8a784 100644 --- a/src/hbbr.rs +++ b/src/hbbr.rs @@ -39,7 +39,7 @@ fn main() -> ResultType<()> { matches.value_of("port").unwrap_or(&port.to_string()), matches .value_of("key") - .unwrap_or(&std::env::var("KEY").unwrap_or("-".to_owned())), + .unwrap_or(&std::env::var("KEY").unwrap_or_default()), )?; Ok(()) } |