X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Futils%2Fwarn_processes.sh;fp=tests%2Futils%2Fwarn_processes.sh;h=d84edb6f9c5686a2e421fef340af7f82f9b1154e;hp=6858b86632d2f7297e8eff082d20f1ece278a8bd;hb=bce066c49dc7413a1cb3d8df0ea829990b494202;hpb=31188671300711747ab6bece5725cf0441f51117 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