really kill the helper if something went wrong
authorPhilipp Tölke <toelke@in.tum.de>
Fri, 30 Jul 2010 23:34:55 +0000 (23:34 +0000)
committerPhilipp Tölke <toelke@in.tum.de>
Fri, 30 Jul 2010 23:34:55 +0000 (23:34 +0000)
src/vpn/gnunet-daemon-vpn.c

index 19824cc589df8d390501003573394d41b9c3a7e8..ddd540cb0744874f409ff00b6c6c340252665dca 100644 (file)
@@ -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