Update storage-test.sh

This commit is contained in:
2025-05-04 09:37:21 -05:00
parent 4548470a12
commit 1ea8462a8e

View File

@@ -106,7 +106,8 @@ ChosenPartition=""
if [ "$1" = "" ]; then
# User did not provide a partition/folder, change directory to rootfs
df=0
for d in ("$(df | grep ext4)"); do
drives="$(df | grep ext4)"
for d in "${drives}"; do
((df++))
echo "${df}) ${d}"
done