summaryrefslogtreecommitdiffhomepage
path: root/main.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-01-21 20:26:15 +0100
committerFelix Fietkau <nbd@openwrt.org>2012-01-21 20:26:15 +0100
commit9393ff39a8be91ad90d1392cc4e093aa859c5005 (patch)
tree29aadadc644eadfb24edb02964d834f48680b390 /main.c
parenta12081aa986c4cc878bf0480a5d0ffb986aed0c5 (diff)
always use SIGKILL for netifd_kill_process, it is usually a last resort
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 2fc3733..2d8e46b 100644
--- a/main.c
+++ b/main.c
@@ -219,7 +219,7 @@ netifd_kill_process(struct netifd_process *proc)
if (!proc->uloop.pending)
return;
- kill(proc->uloop.pid, SIGTERM);
+ kill(proc->uloop.pid, SIGKILL);
netifd_delete_process(proc);
}