mirror of
https://github.com/docker/docker-bench-security.git
synced 2025-07-11 06:07:53 +00:00
Make ifs style be consistent
This commit is contained in:
parent
d6c1443641
commit
03ac3f5bd3
6 changed files with 27 additions and 27 deletions
|
@ -29,7 +29,7 @@ do_version_check() {
|
|||
contains() {
|
||||
string="$1"
|
||||
substring="$2"
|
||||
if test "${string#*$substring}" != "$string"
|
||||
if [ "${string#*$substring}" != "$string" ]
|
||||
then
|
||||
return 0 # $substring is in $string
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue