diff --git a/root/etc/cont-init.d/50-gid-video b/root/etc/cont-init.d/50-gid-video index 610bd23..3bc9949 100755 --- a/root/etc/cont-init.d/50-gid-video +++ b/root/etc/cont-init.d/50-gid-video @@ -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