Update storage-test.sh
This commit is contained in:
@@ -118,7 +118,7 @@ if [ "$1" = "" ]; then
|
|||||||
echo "$drives" | while IFS= read -r line ; do
|
echo "$drives" | while IFS= read -r line ; do
|
||||||
((df++)); path=$(echo $line | cut -d'%' -f2)
|
((df++)); path=$(echo $line | cut -d'%' -f2)
|
||||||
if [ $df -eq $drive_path ]; then
|
if [ $df -eq $drive_path ]; then
|
||||||
ChosenPartition="${path// }"
|
ChosenPartition2="${path// }"
|
||||||
cd "$ChosenPartition"
|
cd "$ChosenPartition"
|
||||||
Print_Style "$ChosenPartition has been selected:" "$YELLOW"
|
Print_Style "$ChosenPartition has been selected:" "$YELLOW"
|
||||||
echo
|
echo
|
||||||
@@ -134,7 +134,7 @@ else
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "HERE: $ChosenPartition"
|
echo "HERE: $ChosenPartition2"
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
# Get host board information
|
# Get host board information
|
||||||
|
|||||||
Reference in New Issue
Block a user