Signal message again

master
Yevgen Muntyan 2006-08-03 00:38:51 -05:00
parent f3f47fd623
commit e65499f0c4
1 changed files with 4 additions and 1 deletions

View File

@ -331,7 +331,10 @@ moo_cmd_view_running (MooCmdView *view)
char *
get_signal_message (int sig)
{
return g_strdup_printf ("Aborted (%s)", g_strsignal (sig));
if (sig == SIGSEGV)
return g_strdup ("*** Aborted. Segmentation fault ***");
else
return g_strdup ("*** Aborted ***");
}
static gboolean