Update storage-test.sh
This commit is contained in:
1 parent
1ea8462a8e
commit
dcbff599eb
1 file changed
+1
-1
+1
-1
@@ -106,7 +106,7 @@ 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)"
|
drives=($(df | grep ext4))
|
||||||
for d in "${drives}"; do
|
for d in "${drives}"; do
|
||||||
((df++))
|
((df++))
|
||||||
echo "${df}) ${d}"
|
echo "${df}) ${d}"
|
||||||
|
|||||||
Reference in new issue
Block a user