Update storage-test.sh

This commit is contained in:
2025-05-04 10:33:19 -05:00
parent e7306660ec
commit 69ea24a8ee

View File

@@ -118,11 +118,10 @@ if [ "$1" = "" ]; then
echo "$drives" | while IFS= read -r line ; do
((df++)); path=$(echo $line | cut -d'%' -f2)
if [ $df -eq $drive_path ]; then
cd "${path// }"
ls -l
Print_Style "${path// } has been selected:" "$YELLOW"
ChosenPartition="${path// }"
cd "$ChosenPartition"
Print_Style "$ChosenPartition has been selected:" "$YELLOW"
echo
exit 0
break
fi
done