mdns: die iff the MDNS advertising process dies

and not if any other child does!
This commit is contained in:
James Laird
2013-06-04 00:26:55 +10:00
parent d52125eca2
commit c5b1f979e4
4 changed files with 24 additions and 2 deletions
+1 -1
View File
@@ -31,7 +31,7 @@
#include <unistd.h>
#include "common.h"
static int mdns_pid = 0;
int mdns_pid = 0;
void mdns_unregister(void) {
if (mdns_pid)