include signal number when killed by a signal

This commit is contained in:
Kelvin Sherlock 2021-01-27 18:23:25 -05:00
parent 9323151102
commit e3edc368fe
1 changed files with 1 additions and 2 deletions

View File

@ -198,8 +198,7 @@ static NSURL *MameWorkingDirectory(void) {
}
else
{
string = @"\n\n[Caught signal]\n\n";
string = [NSString stringWithFormat: @"\n\n[Caught signal %d (%s)]\n\n", status, strsignal(status)];
}
[self appendString: string];