From: Philipp Tölke Date: Fri, 30 Jul 2010 23:34:55 +0000 (+0000) Subject: really kill the helper if something went wrong X-Git-Tag: initial-import-from-subversion-38251~20790 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4c5f0baee93fdab6471d14dc1c4f50b741157b5a;p=oweals%2Fgnunet.git really kill the helper if something went wrong --- diff --git a/src/vpn/gnunet-daemon-vpn.c b/src/vpn/gnunet-daemon-vpn.c index 19824cc58..ddd540cb0 100644 --- a/src/vpn/gnunet-daemon-vpn.c +++ b/src/vpn/gnunet-daemon-vpn.c @@ -81,7 +81,7 @@ static void restart_helper(void* cls, const struct GNUNET_SCHEDULER_TaskContext* struct vpn_cls* mycls = (struct vpn_cls*) cls; // Kill the helper - PLIBC_KILL(mycls->helper_pid, SIGTERM); + PLIBC_KILL(mycls->helper_pid, SIGKILL); GNUNET_OS_process_wait(mycls->helper_pid); // Restart the helper