mirror of
https://github.com/docker/docker-bench-security.git
synced 2024-11-01 08:31:44 +01:00
remove single space at line 230
Signed-off-by: zawazawa0316 <37421794+zawazawa0316@users.noreply.github.com>
This commit is contained in:
parent
12f19d9f64
commit
b046f930bc
1 changed files with 1 additions and 1 deletions
|
@ -227,7 +227,7 @@ check_5_5() {
|
|||
# Go over each directory in sensitive dir and see if they exist in the volumes
|
||||
for v in $sensitive_dirs; do
|
||||
sensitive=0
|
||||
if echo "$volumes" | grep -e "{.*\s$v\s.*true\s.*}" 2>/tmp/null 1>&2; then
|
||||
if echo "$volumes" | grep -e "{.*\s$v\s.*true\s.*}" 2>/tmp/null 1>&2; thengit
|
||||
sensitive=1
|
||||
fi
|
||||
if [ $sensitive -eq 1 ]; then
|
||||
|
|
Loading…
Reference in a new issue