From 5b69a8e134c193a7b6bccc92036244961e8e8d25 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 4 May 2025 10:18:38 -0500 Subject: [PATCH] Update storage-test.sh --- storage-test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/storage-test.sh b/storage-test.sh index 9b428d8..3134edf 100755 --- a/storage-test.sh +++ b/storage-test.sh @@ -106,11 +106,11 @@ ChosenPartition="" if [ "$1" = "" ]; then echo Print_Style "Select a drive to test from:" "$YELLOW" - df=0; declare -A drive_sel + df=0; drive_sel=() echo "$(/bin/df -kTh | grep ext4)" | while IFS= read -r line ; do ((df++)) path=$(echo $line | cut -d'%' -f2) - drive_sel+="${path// }" + drive_sel+=("${path// }") Print_Style "$df) ${path// }" "$CYAN" done echo