Update storage-test.sh
This commit is contained in:
@@ -107,7 +107,7 @@ if [ "$1" = "" ]; then
|
||||
# User did not provide a partition/folder, change directory to rootfs
|
||||
df=0
|
||||
drives=($(df | grep ext4))
|
||||
for d in "${drives}"; do
|
||||
for d in $(df | grep ext4); do
|
||||
((df++))
|
||||
echo "${df}) ${d}"
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user