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
((df++)); path=$(echo $line | cut -d'%' -f2)
if [ $df -eq $drive_path ]; then
ChosenPartition2="${path// }"
cd "$ChosenPartition"
Print_Style "$ChosenPartition has been selected:" "$YELLOW"
ChosenPartition=${path// }
cd "${ChosenPartition}"
Print_Style "${ChosenPartition} has been selected:" "$YELLOW"
echo
fi
done
@@ -134,7 +134,7 @@ else
fi
fi
echo "HERE: $ChosenPartition2"
echo "HERE: ${ChosenPartition}"
exit 0
# Get host board information