aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rwxr-xr-xtools/test/collect_coverage.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/test/collect_coverage.sh b/tools/test/collect_coverage.sh
index a18edf30c2..58afc82ae4 100755
--- a/tools/test/collect_coverage.sh
+++ b/tools/test/collect_coverage.sh
@@ -109,7 +109,7 @@ fi
cd $ROOT
USES_LLVM_COV=
-if stat --printf='' "${COVERAGE_DIR}"/*.profraw 2>/dev/null; then
+if stat "${COVERAGE_DIR}"/*.profraw >/dev/null 2>&1; then
USES_LLVM_COV=1
fi