diff options
Diffstat (limited to 'crates')
| -rw-r--r-- | crates/atuin/src/command/client/history.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/atuin/src/command/client/history.rs b/crates/atuin/src/command/client/history.rs index a9970559..17b400f3 100644 --- a/crates/atuin/src/command/client/history.rs +++ b/crates/atuin/src/command/client/history.rs @@ -384,7 +384,7 @@ impl Cmd { return Ok(()); } - if !settings.store_failed && h.exit != 0 { + if !settings.store_failed && exit > 0 { debug!("history has non-zero exit code, and store_failed is false"); // the history has already been inserted half complete. remove it |
