diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/firejail/profile.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/firejail/profile.c b/src/firejail/profile.c index b8bb086d2..756b370aa 100644 --- a/src/firejail/profile.c +++ b/src/firejail/profile.c | |||
@@ -416,13 +416,7 @@ int profile_check_line(char *ptr, int lineno, const char *fname) { | |||
416 | return 0; | 416 | return 0; |
417 | } | 417 | } |
418 | else if (strcmp(ptr, "nogroups") == 0) { | 418 | else if (strcmp(ptr, "nogroups") == 0) { |
419 | // nvidia cards require video group; disable nogroups | 419 | arg_nogroups = 1; |
420 | if (access("/dev/nvidiactl", R_OK) == 0 && arg_no3d == 0) { | ||
421 | fwarning("Warning: NVIDIA card detected, nogroups command disabled\n"); | ||
422 | arg_nogroups = 0; | ||
423 | } | ||
424 | else | ||
425 | arg_nogroups = 1; | ||
426 | return 0; | 420 | return 0; |
427 | } | 421 | } |
428 | else if (strcmp(ptr, "nosound") == 0) { | 422 | else if (strcmp(ptr, "nosound") == 0) { |