mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-06-25 08:53:06 +02:00
clang-format fix
This commit is contained in:
parent
b2b09fbb83
commit
57efe440c3
@ -268,7 +268,8 @@ static int run_gamemoderun_and_reaper_tests(struct GameModeConfig *config)
|
||||
/* Close stdout, we don't care if sh prints anything */
|
||||
fclose(stdout);
|
||||
/* Preload into sh and then kill it */
|
||||
if (execl("/usr/bin/gamemoderun", "/usr/bin/gamemoderun", "sleep", "5", (char *)NULL) == -1) {
|
||||
if (execl("/usr/bin/gamemoderun", "/usr/bin/gamemoderun", "sleep", "5", (char *)NULL) ==
|
||||
-1) {
|
||||
LOG_ERROR("failed to launch gamemoderun with execl: %s\n", strerror(errno));
|
||||
return -1;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user