X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Futils%2Fwarn_processes.sh;h=2b7fe3fcac2fa0932f5fd8a519a9108a00239eab;hp=6858b86632d2f7297e8eff082d20f1ece278a8bd;hb=352b58f55f53e7d11fb286ddc26a3bd0ecdd02f5;hpb=fdd88fe262222b6873c1f111caf4716b97ea96dd diff --git a/tests/utils/warn_processes.sh b/tests/utils/warn_processes.sh index 6858b8663..2b7fe3fca 100755 --- a/tests/utils/warn_processes.sh +++ b/tests/utils/warn_processes.sh @@ -1,6 +1,13 @@ #!/bin/bash +# +# Copyright (C) 2016 Michael Jeanson +# +# SPDX-License-Identifier: GPL-2.0-only +# -PGREP="$1" +if [ -z $PGREP ]; then + PGREP=pgrep +fi if [ x$LTTNG_TOOLS_TESTS_DISABLE_WARN_LTTNG_PROCESSES == x1 ]; then exit