summaryrefslogtreecommitdiffstats
path: root/llvm/utils/lit
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/utils/lit')
-rwxr-xr-xllvm/utils/lit/utils/check-coverage2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/lit/utils/check-coverage b/llvm/utils/lit/utils/check-coverage
index 128e827f22d..cded7a2921c 100755
--- a/llvm/utils/lit/utils/check-coverage
+++ b/llvm/utils/lit/utils/check-coverage
@@ -23,7 +23,7 @@ fi
# sitecustomize.
if ! python -c \
'import sitecustomize, sys; sys.exit("coverage" not in dir(sitecustomize))' \
- &> /dev/null; then
+ >/dev/null 2>&1; then
printf 1>&2 "error: active python does not appear to enable coverage in its 'sitecustomize.py'\n"
exit 1
fi
OpenPOWER on IntegriCloud