diff --git a/bin/coreutil.sh b/bin/coreutil.sh
index 1d5ac8a..767b0a3 100644
--- a/bin/coreutil.sh
+++ b/bin/coreutil.sh
@@ -574,7 +574,7 @@ function addSuiteEntry {
echo -n "skipped=$7 " >> "$1"
fi
echo -n " Suites executed=${10} " >> "$1"
- if [[ $12 -ne 0 ]]; then
+ if [[ ${12} -ne 0 ]]; then
echo -n "errors=${12} " >> "$1"
else
echo -n "errors=${12} " >> "$1"