always use SIGKILL for netifd_kill_process, it is usually a last resort
authorFelix Fietkau <nbd@openwrt.org>
Sat, 21 Jan 2012 19:26:15 +0000 (20:26 +0100)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 21 Jan 2012 19:26:15 +0000 (20:26 +0100)
main.c

diff --git a/main.c b/main.c
index 2fc3733faaf9a4e5205efee68915b282a221ffa5..2d8e46b1b9d82bf3676af5cfaf603b4d76c04a85 100644 (file)
--- 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);
 }