From aa5168e66395dc341328b08edc28b3d9ea93994d Mon Sep 17 00:00:00 2001 From: Carson McManus Date: Wed, 9 Aug 2023 13:40:58 -0400 Subject: [PATCH] fix manifest failing to save after migration on encrypted maFiles when providing passkey via the prompts on stdin (#297) --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 3afc492..ce88a31 100644 --- a/src/main.rs +++ b/src/main.rs @@ -162,7 +162,7 @@ fn run(args: commands::Args) -> anyhow::Result<()> { } let mut manager = AccountManager::from_manifest(manifest, mafiles_dir); manager.register_accounts(accounts); - manager.submit_passkey(globalargs.passkey.clone()); + manager.submit_passkey(passkey.clone()); manager.save()?; manager }