Update storage-test.sh
This commit is contained in:
@@ -109,8 +109,8 @@ if [ "$1" = "" ]; then
|
|||||||
drives="$(/bin/df -kTh | grep ext4)"
|
drives="$(/bin/df -kTh | grep ext4)"
|
||||||
echo "HERE: ${#drives}"
|
echo "HERE: ${#drives}"
|
||||||
drives2=(${drives})
|
drives2=(${drives})
|
||||||
echo "HERE: ${drives2[0]}"
|
echo "HERE: $(${drives2[0]} | cut -d'%' -f2)"
|
||||||
echo "HERE: ${drives2[1]}"
|
echo "HERE: $(${drives2[1]} | cut -d'%' -f2)"
|
||||||
echo
|
echo
|
||||||
Print_Style "Select a drive to test from:" "$YELLOW"
|
Print_Style "Select a drive to test from:" "$YELLOW"
|
||||||
df=0
|
df=0
|
||||||
|
|||||||
Reference in New Issue
Block a user