Update storage-test.sh
This commit is contained in:
@@ -106,11 +106,11 @@ ChosenPartition=""
|
|||||||
if [ "$1" = "" ]; then
|
if [ "$1" = "" ]; then
|
||||||
echo
|
echo
|
||||||
Print_Style "Select a partition to test from:" "$YELLOW"
|
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
|
echo "$(/bin/df -kTh | grep ext4)" | while IFS= read -r line ; do
|
||||||
((df++))
|
((df++))
|
||||||
path=$(echo $line | cut -d'%' -f2)
|
path=$(echo $line | cut -d'%' -f2)
|
||||||
driveSel = "${path// }"
|
drive_sel="${path// }"
|
||||||
Print_Style "$df) ${path// }" "$POWDER_BLUE"
|
Print_Style "$df) ${path// }" "$POWDER_BLUE"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user