diff options
Diffstat (limited to 'sway')
-rw-r--r-- | sway/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sway/main.c b/sway/main.c index 20738307..e03588ea 100644 --- a/sway/main.c +++ b/sway/main.c @@ -42,10 +42,11 @@ void detect_nvidia() { if (strstr(line, "nvidia")) { fprintf(stderr, "\x1B[1;31mWarning: Proprietary nvidia drivers do NOT support Wayland. Use nouveau.\x1B[0m\n"); free(line); - return; + break; } free(line); } + fclose(f); } int main(int argc, char **argv) { |