Fix check condition

Signed-off-by: zawazawa0316 <37421794+zawazawa0316@users.noreply.github.com>
This commit is contained in:
zawazawa0316 2020-03-03 21:51:49 +09:00
parent 11da147df9
commit b16da2c2ed

View file

@ -131,7 +131,7 @@ check_2_5() {
starttestjson "$id_2_5" "$desc_2_5" starttestjson "$id_2_5" "$desc_2_5"
totalChecks=$((totalChecks + 1)) totalChecks=$((totalChecks + 1))
if docker info 2>/dev/null | grep -e "^Storage Driver:\s*aufs\s*$" >/dev/null 2>&1; then if docker info 2>/dev/null | grep -e "^\sStorage Driver:\s*aufs\s*$" >/dev/null 2>&1; then
warn "$check_2_5" warn "$check_2_5"
resulttestjson "WARN" resulttestjson "WARN"
currentScore=$((currentScore - 1)) currentScore=$((currentScore - 1))