From d9e0f757b08418080c7be8011889cfbe04349fbc Mon Sep 17 00:00:00 2001 From: Petr Krutov Date: Sun, 20 Aug 2023 14:04:30 +0400 Subject: [PATCH] fixed network-ket arg --- veilid-server/src/cmdline.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/veilid-server/src/cmdline.rs b/veilid-server/src/cmdline.rs index ccb888bb..5e57e9b8 100644 --- a/veilid-server/src/cmdline.rs +++ b/veilid-server/src/cmdline.rs @@ -155,6 +155,7 @@ fn do_clap_matches(default_config_path: &OsStr) -> Result EyreResult<(Settings, ArgMatches)> { settingsrw.core.protected_store.new_device_encryption_key_password = Some(matches.value_of("new-password").unwrap().to_owned()); } if matches.occurrences_of("network-key") != 0 { - settingsrw.core.network.network_key_password = Some(matches.value_of("new-password").unwrap().to_owned()); + settingsrw.core.network.network_key_password = Some(matches.value_of("network-key").unwrap().to_owned()); } if matches.occurrences_of("dump-txt-record") != 0 {