Revert last commit (bug)

This commit is contained in:
2021-01-07 17:52:30 +01:00
parent e1c02ad254
commit ccfbf5322a

View File

@@ -20,7 +20,7 @@ while read -r line; do
elif [[ $line != "" ]]; then elif [[ $line != "" ]]; then
if ((state == 2)); then if ((state == 2)); then
for i in ${line//,/ }; do for i in ${line//,/ }; do
[[ ! -v valid[$i] ]] && ((res++)) [[ ! -v valid[$i] ]] && res=res+i
done done
fi fi
fi fi