Update storage-test.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user