Update storage-test.sh

This commit is contained in:
2025-05-04 10:43:32 -05:00
parent 2e8db34a28
commit 798c52381a

View File

@@ -118,9 +118,9 @@ 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
ChosenPartition2="${path// }" ChosenPartition=${path// }
cd "$ChosenPartition" cd "${ChosenPartition}"
Print_Style "$ChosenPartition has been selected:" "$YELLOW" Print_Style "${ChosenPartition} has been selected:" "$YELLOW"
echo echo
fi fi
done done
@@ -134,7 +134,7 @@ else
fi fi
fi fi
echo "HERE: $ChosenPartition2" echo "HERE: ${ChosenPartition}"
exit 0 exit 0
# Get host board information # Get host board information