Check for drive using ls

This commit is contained in:
Bob Mottram 2018-04-22 11:35:46 +01:00
parent b2542e385c
commit 38c0fc7673
1 changed files with 1 additions and 1 deletions

View File

@ -1812,7 +1812,7 @@ function performance_benchmarks {
fi
test_drive=/dev/sda1
if [ -f /dev/mmcblk0p2 ]; then
if ls /dev/mmcblk0p2; then
test_drive=/dev/mmcblk0p2
fi
echo ''