SoW-2019-0002: Dynamic Snapshot
[lttng-tools.git] / tests / utils / warn_processes.sh
index 6858b86632d2f7297e8eff082d20f1ece278a8bd..2b7fe3fcac2fa0932f5fd8a519a9108a00239eab 100755 (executable)
@@ -1,6 +1,13 @@
 #!/bin/bash
 #!/bin/bash
+#
+# Copyright (C) 2016 Michael Jeanson <mjeanson@efficios.com>
+#
+# 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
 
 if [ x$LTTNG_TOOLS_TESTS_DISABLE_WARN_LTTNG_PROCESSES == x1 ]; then
        exit
This page took 0.0242599999999999 seconds and 5 git commands to generate.