From 936170c65f4772496b93eb50740cb38444133334 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 4 May 2025 10:39:01 -0500 Subject: [PATCH] Update storage-test.sh --- storage-test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/storage-test.sh b/storage-test.sh index 4cb8da1..2ae6c05 100755 --- a/storage-test.sh +++ b/storage-test.sh @@ -331,7 +331,7 @@ fi # Run sync to make sure all changes have been written to disk sync -if [ -z "$ChosenPartition" ]; then +if [ "$ChosenPartition" != "" ]; then # User did not provide a partition/folder, continue with rootfs # --Get system boot drive information-- # Find from mountpoint first @@ -380,7 +380,7 @@ if [ -z "$BootDriveSuffix" ]; then BootDriveSuffix="$BootDrive" fi -if [ -z "$ChosenPartition" ]; then +if [ "$ChosenPartition" != "" ]; then Print_Style "System rootfs drive (/) has been detected as $BootDrive ($BootDriveSuffix)" "$YELLOW" else Print_Style "Chosen partition ($ChosenPartition) has been detected as $BootDrive ($BootDriveSuffix)" "$YELLOW"