diff --git a/src/fe_utils/print.c b/src/fe_utils/print.c index 66a50f183f..f3c176aa55 100644 --- a/src/fe_utils/print.c +++ b/src/fe_utils/print.c @@ -3347,6 +3347,9 @@ printTable(const printTableContent *cont, is_local_pager = is_pager; } + /* clear any pre-existing error indication on the output stream */ + clearerr(fout); + /* print the stuff */ if (flog)