GH-933 map exit code -1 to 'crashed'
This commit is contained in:
parent
5779ffd664
commit
8e9d5f56b5
@ -254,7 +254,10 @@ void BaseProcess::finish(int code, ExitStatus status)
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
//: Message displayed on instance crashed
|
//: Message displayed on instance crashed
|
||||||
emit log(tr("Game crashed with exitcode %1.").arg(code));
|
if(code == -1)
|
||||||
|
emit log(tr("Game crashed.").arg(code));
|
||||||
|
else
|
||||||
|
emit log(tr("Game crashed with exitcode %1.").arg(code));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user