diff --git a/storage-test.sh b/storage-test.sh index 873a384..23de71b 100755 --- a/storage-test.sh +++ b/storage-test.sh @@ -108,7 +108,7 @@ if [ "$1" = "" ]; then echo "$(/bin/df -kTh | grep ext4)" | while IFS= read -r line ; do ((df++)) path=$(echo $line | cut -d'%' -f2) - ${driveSel[${df}]}="${path// }" + driveSel[${df}] = "${path// }" echo "$df) ${path// }" done