From 49a8703e8226564613529abb358bf80634a1a87d Mon Sep 17 00:00:00 2001 From: Marc Di Luzio Date: Sat, 13 Jun 2026 19:54:31 +0100 Subject: [PATCH] Actually ignore GPU options from protected locations This seems to have been a mistake from back in #103 As can be seen in that review the code only logs and does not actually do any real work to act on the caution --- daemon/gamemode-config.c | 1 + 1 file changed, 1 insertion(+) diff --git a/daemon/gamemode-config.c b/daemon/gamemode-config.c index 0edff721..06f704d0 100644 --- a/daemon/gamemode-config.c +++ b/daemon/gamemode-config.c @@ -315,6 +315,7 @@ static int inih_handler(void *user, const char *section, const char *name, const "will be ignored!\n", name); LOG_ERROR("Consider moving this option to /etc/gamemode.ini\n"); + return 1; } /* GPU subsection */