Only swallow 'Stream closed' IOExceptions

This commit is contained in:
Paul Schaub 2023-01-22 15:37:27 +01:00
parent 8cacf7dd57
commit 0c8f6baf98
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311

View file

@ -100,6 +100,9 @@ public class DetachedSignExternal implements DetachedSign {
processOut.close();
} catch (IOException e) {
// Ignore Stream closed
if (!"Stream closed".equals(e.getMessage())) {
throw e;
}
}
while ((r = processIn.read(buf)) > 0) {