diff options
Diffstat (limited to 'src/firejail/profile.c')
-rw-r--r-- | src/firejail/profile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/firejail/profile.c b/src/firejail/profile.c index bed9bcc7e..8c29fe81c 100644 --- a/src/firejail/profile.c +++ b/src/firejail/profile.c | |||
@@ -403,7 +403,7 @@ int profile_check_line(char *ptr, int lineno, const char *fname) { | |||
403 | } | 403 | } |
404 | else if (strcmp(ptr, "nogroups") == 0) { | 404 | else if (strcmp(ptr, "nogroups") == 0) { |
405 | // nvidia cards require video group; disable nogroups | 405 | // nvidia cards require video group; disable nogroups |
406 | if (access("/dev/nvidiactl", R_OK) == 0) { | 406 | if (access("/dev/nvidiactl", R_OK) == 0 && arg_no3d == 0) { |
407 | fwarning("Warning: NVIDIA card detected, nogroups command disabled\n"); | 407 | fwarning("Warning: NVIDIA card detected, nogroups command disabled\n"); |
408 | arg_nogroups = 0; | 408 | arg_nogroups = 0; |
409 | } | 409 | } |