mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-06-07 08:07:20 +02:00
Correct error message when the initial query fails
This commit is contained in:
parent
5e705f3225
commit
f0816230d7
@ -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");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user