mirror of
https://github.com/linuxserver/docker-plex.git
synced 2026-04-13 00:04:33 +08:00
Update 50-gid-video
Never use root
This commit is contained in:
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…
x
Reference in New Issue
Block a user