mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-08-06 05:08:29 +02:00
Correct error message when the initial query fails
This commit is contained in:
@@ -47,7 +47,7 @@ static int verify_gamemode_initial(void)
|
|||||||
{
|
{
|
||||||
int status = 0;
|
int status = 0;
|
||||||
|
|
||||||
if ((status = gamemode_query_status()) != 0) {
|
if ((status = gamemode_query_status()) != 0 && status != -1) {
|
||||||
fprintf(
|
fprintf(
|
||||||
stderr,
|
stderr,
|
||||||
"ERROR: gamemode is currently active, tests require gamemode to start deactivated!\n");
|
"ERROR: gamemode is currently active, tests require gamemode to start deactivated!\n");
|
||||||
|
Reference in New Issue
Block a user