summaryrefslogtreecommitdiffstats
path: root/vendor/gix-credentials/src/helper/invoke.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/gix-credentials/src/helper/invoke.rs')
-rw-r--r--vendor/gix-credentials/src/helper/invoke.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/vendor/gix-credentials/src/helper/invoke.rs b/vendor/gix-credentials/src/helper/invoke.rs
index a543ec761..563f3b2ff 100644
--- a/vendor/gix-credentials/src/helper/invoke.rs
+++ b/vendor/gix-credentials/src/helper/invoke.rs
@@ -8,8 +8,9 @@ impl Action {
match self {
Action::Get(ctx) => ctx.write_to(write),
Action::Store(last) | Action::Erase(last) => {
- write.write_all(last)?;
- write.write_all(&[b'\n'])
+ write.write_all(last).ok();
+ write.write_all(&[b'\n']).ok();
+ Ok(())
}
}
}