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