diff --git a/storage-test.sh b/storage-test.sh index a50c8e9..f9afaf9 100755 --- a/storage-test.sh +++ b/storage-test.sh @@ -110,14 +110,14 @@ if [ "$1" = "" ]; then echo "$(/bin/df -kTh | grep ext4)" | while IFS= read -r line ; do ((df++)) path=$(echo $line | cut -d'%' -f2) - drive_sel["${df}"]="${path// }" + drive_sel[${df}]="${path// }" Print_Style "$df) ${path// }" "$CYAN" done echo # read -r -p '#: ' drive_path