diff --git a/storage-test.sh b/storage-test.sh index a9605e1..fad2cd3 100755 --- a/storage-test.sh +++ b/storage-test.sh @@ -106,7 +106,7 @@ ChosenPartition="" if [ "$1" = "" ]; then # User did not provide a partition/folder, change directory to rootfs df=0 - for d in "$(df | grep ext4)"; do + for d in "($(df | grep ext4))"; do ((df++)) echo "${df}) ${d}" done