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