X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Futils%2Fwarn_processes.sh;h=d84edb6f9c5686a2e421fef340af7f82f9b1154e;hp=6858b86632d2f7297e8eff082d20f1ece278a8bd;hb=ec5b87f3610b3b0e52ce6109600930deb5996cca;hpb=fdd88fe262222b6873c1f111caf4716b97ea96dd diff --git a/tests/utils/warn_processes.sh b/tests/utils/warn_processes.sh index 6858b8663..d84edb6f9 100755 --- a/tests/utils/warn_processes.sh +++ b/tests/utils/warn_processes.sh @@ -1,6 +1,8 @@ #!/bin/bash -PGREP="$1" +if [ -z $PGREP ]; then + PGREP=pgrep +fi if [ x$LTTNG_TOOLS_TESTS_DISABLE_WARN_LTTNG_PROCESSES == x1 ]; then exit