mirror of
https://github.com/docker/docker-bench-security.git
synced 2024-11-01 08:31:44 +01:00
Fix the printing error when using bash
This commit is contained in:
parent
c67469d96b
commit
38ac7ef8d8
1 changed files with 5 additions and 0 deletions
|
@ -20,6 +20,7 @@ logit () {
|
|||
|
||||
info () {
|
||||
local infoCountCheck
|
||||
local OPTIND c
|
||||
while getopts c args
|
||||
do
|
||||
case $args in
|
||||
|
@ -37,6 +38,8 @@ info () {
|
|||
|
||||
pass () {
|
||||
local passScored
|
||||
local passCountCheck
|
||||
local OPTIND s c
|
||||
while getopts sc args
|
||||
do
|
||||
case $args in
|
||||
|
@ -59,6 +62,7 @@ pass () {
|
|||
|
||||
warn () {
|
||||
local warnScored
|
||||
local OPTIND s
|
||||
while getopts s args
|
||||
do
|
||||
case $args in
|
||||
|
@ -77,6 +81,7 @@ warn () {
|
|||
|
||||
note () {
|
||||
local noteCountCheck
|
||||
local OPTIND c
|
||||
while getopts c args
|
||||
do
|
||||
case $args in
|
||||
|
|
Loading…
Reference in a new issue