diff --git a/storage-test.sh b/storage-test.sh index 66fde14..0d66828 100755 --- a/storage-test.sh +++ b/storage-test.sh @@ -106,8 +106,7 @@ ChosenPartition="" if [ "$1" = "" ]; then # User did not provide a partition/folder, change directory to rootfs df=0 - df | grep ext4 - drives="$(df | grep ext4)" + drives="$(/bin/df -kTh | grep ext4)" echo "$drives" echo "$drives" | while IFS= read -r line ; do ((df++))