Update 50-gid-video

Never use root
pull/179/head
Eric Nemchik 6 years ago committed by Ryan Kuba
parent 522911f771
commit 256bf7a1d6

@ -2,7 +2,7 @@
# Check for the existence of the Intel video device
if [ -e /dev/dri ]; then
VIDEO_GID=$(stat -c '%g' /dev/dri/* | head -n 1)
VIDEO_GID=$(stat -c '%g' /dev/dri/* | grep -v 0 | head -n 1)
else
exit 0
fi

Loading…
Cancel
Save