From e3edc368fea3164ccdffee75ac7a8f1bff88cce8 Mon Sep 17 00:00:00 2001 From: Kelvin Sherlock Date: Wed, 27 Jan 2021 18:23:25 -0500 Subject: [PATCH] include signal number when killed by a signal --- Ample/LogWindowController.m | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Ample/LogWindowController.m b/Ample/LogWindowController.m index 7bf4950..b5b875b 100644 --- a/Ample/LogWindowController.m +++ b/Ample/LogWindowController.m @@ -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];