From c05dca017f14ac713d5c0fc6e3c015dd16c603f0 Mon Sep 17 00:00:00 2001 From: Nils Carlson Date: Mon, 21 Feb 2011 10:17:26 +0100 Subject: [PATCH] fix valgrind test valgrind check Signed-off-by: Nils Carlson --- tests/valgrind_ust-consumerd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/valgrind_ust-consumerd.sh b/tests/valgrind_ust-consumerd.sh index d89a1f2c..1b10772a 100755 --- a/tests/valgrind_ust-consumerd.sh +++ b/tests/valgrind_ust-consumerd.sh @@ -17,7 +17,7 @@ # You should have received a copy of the GNU General Public License # along with LTTng-UST. If not, see . -if [ -n "$(which valgrind)" ]; then +if ! which valgrind > /dev/null; then echo "$0: Valgrind not found on the system." >/dev/stderr exit 1; fi -- 2.34.1