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