mirror of
https://github.com/docker/docker-bench-security.git
synced 2025-08-05 00:49:13 +00:00
output formating
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com>
This commit is contained in:
parent
00b45ef205
commit
933f1b6da9
2 changed files with 13 additions and 7 deletions
|
@ -575,10 +575,10 @@ else
|
|||
if [ $? -ne 0 ]; then
|
||||
if [ $fail -eq 0 ]; then
|
||||
warn "$check_5_26"
|
||||
warn " * Health check not set for $c"
|
||||
warn " * Health check not set: $c"
|
||||
fail=1
|
||||
else
|
||||
warn " * Health check not set for $c"
|
||||
warn " * Health check not set: $c"
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
@ -597,10 +597,10 @@ else
|
|||
# If it's the first container, fail the test
|
||||
if [ $fail -eq 0 ]; then
|
||||
warn "$check_5_28"
|
||||
warn " * pidslimit not set: $c"
|
||||
warn " * PID limit not set: $c"
|
||||
fail=1
|
||||
else
|
||||
warn " * pidslimit not set: $c"
|
||||
warn " * PID limit not set: $c"
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue