X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=tests%2Futils%2Fwarn_processes.sh;h=d84edb6f9c5686a2e421fef340af7f82f9b1154e;hb=030ccc250152b15afa188608e0952f79991a1ce3;hp=6858b86632d2f7297e8eff082d20f1ece278a8bd;hpb=fdd88fe262222b6873c1f111caf4716b97ea96dd;p=lttng-tools.git 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