1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-11-17 18:02:05 +01:00

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

View file

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