diff options
author | Philipp Tölke <toelke@in.tum.de> | 2010-07-30 23:34:55 +0000 |
---|---|---|
committer | Philipp Tölke <toelke@in.tum.de> | 2010-07-30 23:34:55 +0000 |
commit | 4c5f0baee93fdab6471d14dc1c4f50b741157b5a (patch) | |
tree | b26a0ecd6ba1ab908724c4021993f9b4a55470d8 /src/vpn/gnunet-daemon-vpn.c | |
parent | 9a4be70c294da35d740c78dde8f1a8e516eb26ec (diff) | |
download | gnunet-4c5f0baee93fdab6471d14dc1c4f50b741157b5a.tar.gz gnunet-4c5f0baee93fdab6471d14dc1c4f50b741157b5a.zip |
really kill the helper if something went wrong
Diffstat (limited to 'src/vpn/gnunet-daemon-vpn.c')
-rw-r--r-- | src/vpn/gnunet-daemon-vpn.c | 2 |
1 files changed, 1 insertions, 1 deletions
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* | |||
81 | struct vpn_cls* mycls = (struct vpn_cls*) cls; | 81 | struct vpn_cls* mycls = (struct vpn_cls*) cls; |
82 | 82 | ||
83 | // Kill the helper | 83 | // Kill the helper |
84 | PLIBC_KILL(mycls->helper_pid, SIGTERM); | 84 | PLIBC_KILL(mycls->helper_pid, SIGKILL); |
85 | GNUNET_OS_process_wait(mycls->helper_pid); | 85 | GNUNET_OS_process_wait(mycls->helper_pid); |
86 | 86 | ||
87 | // Restart the helper | 87 | // Restart the helper |