summaryrefslogtreecommitdiffstats
path: root/tool/src/commands/decrypt.rs
diff options
context:
space:
mode:
authorNeal H. Walfield <neal@pep.foundation>2018-10-06 13:40:39 +0200
committerNeal H. Walfield <neal@pep.foundation>2018-10-06 13:40:39 +0200
commit6ae27771f9192fda6fd63792c8383640effeaa3e (patch)
tree0e4c1a5c6862d5a287810fb7ed10ee2159cf5fdc /tool/src/commands/decrypt.rs
parent7ec0e5d111f9b84e416c79a4e2f4aabf24fe03dc (diff)
tool: Dump output belongs on stderr.
- decrypt called dumper.flush() with the same output destination as that used for the decrypted data. But, the output of dump belongs on stderr.
Diffstat (limited to 'tool/src/commands/decrypt.rs')
-rw-r--r--tool/src/commands/decrypt.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/src/commands/decrypt.rs b/tool/src/commands/decrypt.rs
index aba4254f..1671e5da 100644
--- a/tool/src/commands/decrypt.rs
+++ b/tool/src/commands/decrypt.rs
@@ -224,7 +224,7 @@ pub fn decrypt(ctx: &Context, store: &mut store::Store,
let helper = decryptor.into_helper();
if let Some(dumper) = helper.dumper.as_ref() {
- dumper.flush(output)?;
+ dumper.flush(&mut io::stderr())?;
}
helper.vhelper.print_status();
return Ok(());