Check for drive using ls
This commit is contained in:
parent
b2542e385c
commit
38c0fc7673
|
@ -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 ''
|
||||
|
|
Loading…
Reference in New Issue