Skip to content

Commit

Permalink
more nvidia (#3644)
Browse files Browse the repository at this point in the history
  • Loading branch information
netblue30 committed Oct 3, 2020
1 parent 623e682 commit cb460c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/firejail/profile.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit cb460c3

Please sign in to comment.