From 798c52381a1dc2acd754df8826389f1423790dc3 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 4 May 2025 10:43:32 -0500 Subject: [PATCH] Update storage-test.sh --- storage-test.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/storage-test.sh b/storage-test.sh index 8f84530..2068081 100755 --- a/storage-test.sh +++ b/storage-test.sh @@ -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