Use local variables

This commit is contained in:
Santiago Lo Coco 2022-01-29 13:32:21 -03:00
parent b63690442e
commit 902f5738d8
1 changed files with 1 additions and 1 deletions

View File

@ -334,7 +334,7 @@ networkConf() {
}
calcAndRun() {
argc="$#"; i=1
argc="$#"; local i=1
for item in "$@"; do
[ $i -eq $((argc-2)) ] && str="$item"
[ "$item" = "WIDTH" ] && { function="calcWidth"; dimName="width"; }