This commit is contained in:
Thomas Sjögren 2016-04-01 01:25:03 +00:00
commit 574ffcb49d
2 changed files with 2 additions and 2 deletions

View file

@ -41,7 +41,7 @@ contains() {
get_command_line_args() {
PROC="$1"
for PID in $(pgrep -x -o "$PROC")
for PID in $(pgrep -f -o "$PROC")
do
tr "\0" " " < /proc/"$PID"/cmdline
done

View file

@ -5,7 +5,7 @@ info "2 - Docker Daemon Configuration"
# 2.1
check_2_1="2.1 - Do not use lxc execution driver"
get_command_line_args docker | grep lxc >/dev/null 2>&1
get_command_line_args "docker daemon" | grep lxc >/dev/null 2>&1
if [ $? -eq 0 ]; then
warn "$check_2_1"
else