mirror of
https://github.com/docker/docker-bench-security.git
synced 2025-01-19 00:32:34 +01:00
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 <astieger@suse.com>
This commit is contained in:
parent
f2f1195550
commit
3b6a0d1a6e
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ contains() {
|
||||||
fi
|
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() {
|
get_command_line_args() {
|
||||||
PROC="$1"
|
PROC="$1"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue