diff --git a/src-tauri/src/cli.rs b/src-tauri/src/cli.rs index 44c65b5..6e6a106 100644 --- a/src-tauri/src/cli.rs +++ b/src-tauri/src/cli.rs @@ -89,7 +89,10 @@ pub fn exec(args: &ArgMatches) -> Result<(), CliError> { } #[cfg(unix)] - cmd.exec().map_err(|e| ExecError::ExecutionFailed(e))?; + { + let e = cmd.exec(); + Err(ExecError::ExecutionFailed) + } #[cfg(windows)] { diff --git a/src-tauri/src/credentials.rs b/src-tauri/src/credentials.rs index 5a18aed..946c907 100644 --- a/src-tauri/src/credentials.rs +++ b/src-tauri/src/credentials.rs @@ -275,7 +275,7 @@ impl Crypto { #[cfg(not(debug_assertions))] const TIME_COST: u32 = 8; - /// But since this takes a million years in an unoptimized build, + /// But since this takes a million years without optimizations, /// we turn it way down in debug builds. #[cfg(debug_assertions)] const MEM_COST: u32 = 48 * 1024;