[explorer] disks: use echo instead of find as fallback

Fixes #761
This commit is contained in:
Nico Schottelius 2019-04-17 20:50:39 +02:00
parent e997e98a73
commit aba1ae68f0

View file

@ -21,10 +21,7 @@ case "$os" in
lsblk -e 1,2,11 -dno name | xargs
else
# fallback
find /dev \
-type b \
-regex '/dev/\(hd\|sd\|vd\)[a-z]+' \
-printf '%f '
cd /dev && echo [vsh]d?
fi
;;
esac