sessiond: kernel triggers: add infrastructure to create event notifiers
[lttng-tools.git] / tests / utils / warn_processes.sh
index 6858b86632d2f7297e8eff082d20f1ece278a8bd..2b7fe3fcac2fa0932f5fd8a519a9108a00239eab 100755 (executable)
@@ -1,6 +1,13 @@
 #!/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
This page took 0.030534 seconds and 4 git commands to generate.