diff options
Diffstat (limited to 'Source/charon/daemon.c')
-rw-r--r-- | Source/charon/daemon.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Source/charon/daemon.c b/Source/charon/daemon.c index 6361f308d..aafc86ab1 100644 --- a/Source/charon/daemon.c +++ b/Source/charon/daemon.c @@ -263,12 +263,11 @@ void signal_handler(int signal) for (i = 0; i < size; i++) { - logger->log(logger, ERROR, "\t%s", strings[i]); + logger->log(logger, ERROR, " %s", strings[i]); } - free (strings); - - charon->kill(charon, "SIGSEGV received"); + /* kill ourselve the hard way, anything other may result in more SIGSEGVs*/ + kill(getpid(), SIGKILL); } /** |