summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test')
-rwxr-xr-xllvm/test/Scripts/grep-not2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Scripts/grep-not b/llvm/test/Scripts/grep-not
index 7fe67028cc0..9ea9bf0de6f 100755
--- a/llvm/test/Scripts/grep-not
+++ b/llvm/test/Scripts/grep-not
@@ -10,7 +10,7 @@
#
# Syntax: The same as grep
-if grep $@
+if grep "$@"
then exit 1
else exit 0
fi
OpenPOWER on IntegriCloud