sop: Do not swallow EOFExceptions and return 29 instead

Related to #78
This commit is contained in:
Paul Schaub 2021-02-19 21:18:08 +01:00
parent ce5f8990ef
commit 108d6cb841
Signed by: vanitasvitae
GPG Key ID: 62BEE9264BF17311
1 changed files with 2 additions and 1 deletions

View File

@ -151,7 +151,8 @@ public class Decrypt implements Runnable {
Streams.pipeAll(decryptionStream, System.out);
decryptionStream.close();
} catch (IOException e) {
return;
err_ln("Unable to decrypt: " + e.getMessage());
System.exit(29);
}
if (verifyOut == null) {
return;