diff --git a/storage-test.sh b/storage-test.sh index ca37fe3..31bb123 100755 --- a/storage-test.sh +++ b/storage-test.sh @@ -110,7 +110,7 @@ if [ "$1" = "" ]; then echo "$(/bin/df -kTh | grep ext4)" | while IFS= read -r line ; do ((df++)) path=$(echo $line | cut -d'%' -f2) - drive_sel="${path// }" + drive_sel[$df]="${path// }" Print_Style "$df) ${path// }" "$POWDER_BLUE" done