mirror of
https://github.com/docker/docker-bench-security.git
synced 2024-11-01 00:21:45 +01:00
Merge pull request #373 from konstruktoid/ISSUE309
use only year and month for version check #309
This commit is contained in:
commit
55ab78bb12
1 changed files with 1 additions and 1 deletions
|
@ -317,7 +317,7 @@ check_2_12() {
|
|||
# 2.13
|
||||
check_2_13() {
|
||||
docker_version=$(docker version | grep -i -A2 '^server' | grep ' Version:' \
|
||||
| awk '{print $NF; exit}' | tr -d '[:alpha:]-,.')
|
||||
| awk '{print $NF; exit}' | tr -d '[:alpha:]-,.' | cut -c 1-4)
|
||||
totalChecks=$((totalChecks + 1))
|
||||
|
||||
id_2_13="2.13"
|
||||
|
|
Loading…
Reference in a new issue