diff --git a/storage-test.sh b/storage-test.sh index 32971a5..ca37fe3 100755 --- a/storage-test.sh +++ b/storage-test.sh @@ -106,11 +106,11 @@ ChosenPartition="" if [ "$1" = "" ]; then echo Print_Style "Select a partition to test from:" "$YELLOW" - df=0; declare -A driveSel + df=0; declare -A drive_sel echo "$(/bin/df -kTh | grep ext4)" | while IFS= read -r line ; do ((df++)) path=$(echo $line | cut -d'%' -f2) - driveSel = "${path// }" + drive_sel="${path// }" Print_Style "$df) ${path// }" "$POWDER_BLUE" done