Update storage-test.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user