diff options
author | Neal H. Walfield <neal@pep.foundation> | 2018-10-06 13:40:39 +0200 |
---|---|---|
committer | Neal H. Walfield <neal@pep.foundation> | 2018-10-06 13:40:39 +0200 |
commit | 6ae27771f9192fda6fd63792c8383640effeaa3e (patch) | |
tree | 0e4c1a5c6862d5a287810fb7ed10ee2159cf5fdc /tool/src | |
parent | 7ec0e5d111f9b84e416c79a4e2f4aabf24fe03dc (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')
-rw-r--r-- | tool/src/commands/decrypt.rs | 2 |
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(()); |