mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
more nvidia (#3644)
This commit is contained in:
parent
623e682168
commit
cb460c32ce
1 changed files with 1 additions and 1 deletions
|
|
@ -403,7 +403,7 @@ int profile_check_line(char *ptr, int lineno, const char *fname) {
|
|||
}
|
||||
else if (strcmp(ptr, "nogroups") == 0) {
|
||||
// nvidia cards require video group; disable nogroups
|
||||
if (access("/dev/nvidiactl", R_OK) == 0) {
|
||||
if (access("/dev/nvidiactl", R_OK) == 0 && arg_no3d == 0) {
|
||||
fwarning("Warning: NVIDIA card detected, nogroups command disabled\n");
|
||||
arg_nogroups = 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue