summaryrefslogtreecommitdiff
path: root/src/compilo.c
diff options
context:
space:
mode:
authorPixel <>2001-04-17 02:20:40 +0000
committerPixel <>2001-04-17 02:20:40 +0000
commit58dbd2ed918bb9e6f93aed076f8f3de92d41d2f9 (patch)
tree5a0333f391b042c2b25932fdc7fa2daed12140eb /src/compilo.c
parent17d89e026ee39bd30f8604ab397708d9bceb2fbf (diff)
Grou
Diffstat (limited to 'src/compilo.c')
-rw-r--r--src/compilo.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/compilo.c b/src/compilo.c
index d63fb66..b4c44e9 100644
--- a/src/compilo.c
+++ b/src/compilo.c
@@ -60,7 +60,7 @@ int main(int argc, char **argv)
{
invite();
-/* signal(SIGSEGV, segfaulthand); */
+ signal(SIGSEGV, segfaulthand);
if (argc != 3)
usage();
@@ -72,6 +72,8 @@ int main(int argc, char **argv)
fprintf(stderr, _("\nPerforming shutdown...\n\n"));
flush_all();
+
+ signal(SIGSEGV, NULL);
fprintf(stderr, _("Exitting, bye!\n"));
return 0;