Update 50-gid-video
Never use root
This commit is contained in:
parent
522911f771
commit
256bf7a1d6
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue