Skip to content

Commit

Permalink
Use error.
Browse files Browse the repository at this point in the history
  • Loading branch information
thewizzy committed Jan 17, 2024
1 parent f8005cd commit 27baece
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ fn main() {
if !pass_value.is_empty() {
let decrypted = config.write().unwrap().decrypt_database(pass_value);
if !decrypted {
println!("Failed to decrypt!");
error.set(String::from("Failed to decrypt database."))
}
}
if !config.read().unwrap().vault_unlocked {
Expand Down

0 comments on commit 27baece

Please sign in to comment.