mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-06-06 07:37:21 +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;
|
||||
|
||||
if ((status = gamemode_query_status()) != 0) {
|
||||
if ((status = gamemode_query_status()) != 0 && status != -1) {
|
||||
fprintf(
|
||||
stderr,
|
||||
"ERROR: gamemode is currently active, tests require gamemode to start deactivated!\n");
|
||||
@ -266,4 +266,4 @@ int game_mode_run_client_tests()
|
||||
return -1;
|
||||
|
||||
return status;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user