From 47d47e8c43d71c6d6570d354400c0757940bbb94 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sun, 1 Aug 2021 22:12:08 -0600 Subject: [PATCH] [util/hb-shape/hb-subset] Don't terminate on first error in batch mode There's no reason to quit processing. The failure is already communicated via stdout in both cases. --- util/hb-shape.cc | 4 ---- util/hb-subset.cc | 3 --- 2 files changed, 7 deletions(-) diff --git a/util/hb-shape.cc b/util/hb-shape.cc index 7122b77dc..d6b6152e6 100644 --- a/util/hb-shape.cc +++ b/util/hb-shape.cc @@ -186,11 +186,7 @@ main (int argc, char **argv) driver_t driver; ret |= driver.main (argc, args); - fflush (stdout); - - if (ret) - break; } return ret; } diff --git a/util/hb-subset.cc b/util/hb-subset.cc index 511173079..0cc78c1f0 100644 --- a/util/hb-subset.cc +++ b/util/hb-subset.cc @@ -160,9 +160,6 @@ main (int argc, char **argv) fprintf (stdout, result == 0 ? "success\n" : "failure\n"); fflush (stdout); ret |= result; - - if (ret) - break; } return ret; }