From 38c0fc7673d7b50765807aaa94911b2e0708badc Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 22 Apr 2018 11:35:46 +0100 Subject: [PATCH] Check for drive using ls --- src/freedombone-controlpanel | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/freedombone-controlpanel b/src/freedombone-controlpanel index 9ce87e5b..0796c262 100755 --- a/src/freedombone-controlpanel +++ b/src/freedombone-controlpanel @@ -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 ''