Update storage-test.sh

This commit is contained in:
2025-05-04 09:40:41 -05:00
parent fa47f1d57d
commit 4eb3769226

View File

@@ -106,11 +106,10 @@ ChosenPartition=""
if [ "$1" = "" ]; then if [ "$1" = "" ]; then
# User did not provide a partition/folder, change directory to rootfs # User did not provide a partition/folder, change directory to rootfs
df=0 df=0
drives=($(df | grep ext4)) while IFS= read -r line; do
for d in $(df | grep ext4); do
((df++)) ((df++))
echo "${df}) ${d}" echo "${df}) ${line}"
done done <<< "$(df | grep ext4)"
exit 0 exit 0
cd / cd /