about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--tvix/store/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/store/src/main.rs b/tvix/store/src/main.rs
index d9261fc34d6e..0ba49e3bfd4c 100644
--- a/tvix/store/src/main.rs
+++ b/tvix/store/src/main.rs
@@ -34,7 +34,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
     let cli = Cli::parse();
     let listen_address = cli
         .listen_address
-        .unwrap_or("[::]:8000".to_string())
+        .unwrap_or_else(|| "[::]:8000".to_string())
         .parse()
         .unwrap();