Do not show I/O error, if process was interrupted before.

This commit is contained in:
LoRd_MuldeR 2022-09-18 14:24:18 +02:00
parent 336913002e
commit 70132c3ac1

View File

@ -289,7 +289,7 @@ static int process_file(const CHAR *const file_name, const int options)
{ {
if (!(options & OPT_IGNERR)) if (!(options & OPT_IGNERR))
{ {
if (!(options & OPT_SILENT)) if (!((options & OPT_SILENT) || g_aborted))
{ {
FPUTS(T("I/O Error: Failed to read input data!\n"), stderr); FPUTS(T("I/O Error: Failed to read input data!\n"), stderr);
} }