Update storage-test.sh

This commit is contained in:
2025-05-04 10:29:08 -05:00
parent 7e0919f703
commit b27bc2cb51

View File

@@ -114,13 +114,13 @@ if [ "$1" = "" ]; then
done
echo
read -r -p '#: ' drive_path </dev/tty
echo
df=0
echo "$drives" | while IFS= read -r line ; do
((df++)); path=$(echo $line | cut -d'%' -f2)
if [ $df -eq $drive_path ]; then
echo $path
cd $path
Print_Style "$path has been selected:" "$YELLOW"
echo
break
fi
done