From 38ac7ef8d874ecf541d860b4419bea59765a2703 Mon Sep 17 00:00:00 2001 From: Razvan Stoica Date: Sat, 10 Apr 2021 12:01:33 +0300 Subject: [PATCH] Fix the printing error when using bash --- functions/output_lib.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/functions/output_lib.sh b/functions/output_lib.sh index e40fb30..e13def2 100644 --- a/functions/output_lib.sh +++ b/functions/output_lib.sh @@ -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