From 3b6a0d1a6e155969392e7e4a0e36be6e6f57065e Mon Sep 17 00:00:00 2001 From: Andreas Stieger Date: Tue, 17 Nov 2015 14:56:34 +0100 Subject: [PATCH] Documentation fix for get_command_line_args pgrep is run with -o, returning only the oldest process, usually the daemon. Adjust function comment. TODO: read from PID file Signed-off-by: Andreas Stieger --- helper_lib.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helper_lib.sh b/helper_lib.sh index 7577816..2c39b6b 100644 --- a/helper_lib.sh +++ b/helper_lib.sh @@ -37,7 +37,7 @@ contains() { fi } -# Extracts all commandline args from all running processes named like the first parameter +# Extracts all commandline args from the oldest running processes named like the first parameter get_command_line_args() { PROC="$1"