need to not use file flag and just general exists

This commit is contained in:
thelamer
2020-01-04 13:58:23 -08:00
parent 6d4ba8d69e
commit 635df2acc3

View File

@@ -1,7 +1,7 @@
#!/usr/bin/with-contenv bash
FILES=$(find /dev/dri /dev/dvb -type c -print 2>/dev/null)
if [ -f "/dev/vchiq" ]; then
if [ -e "/dev/vchiq" ]; then
FILES+=('/dev/vchiq')
fi