Always use the default signal handler for ABRT signals.

This will allow coredumps to be generated when tinc is daemonized.
Also add the -kABRT option.
This commit is contained in:
Guus Sliepen 2011-05-08 12:40:44 +02:00
parent eacb5a28fb
commit 257cb6ac60
3 changed files with 6 additions and 6 deletions

View file

@ -203,6 +203,8 @@ static bool parse_options(int argc, char **argv) {
kill_tincd = SIGINT;
else if(!strcasecmp(optarg, "ALRM"))
kill_tincd = SIGALRM;
else if(!strcasecmp(optarg, "ABRT"))
kill_tincd = SIGABRT;
else {
kill_tincd = atoi(optarg);