Fix compile on NetBSD and FreeBSD
This commit is contained in:
@@ -11,4 +11,4 @@ include ${MK}/scripts.mk
|
|||||||
|
|
||||||
network: network.in network.${OS}
|
network: network.in network.${OS}
|
||||||
cp network.in network
|
cp network.in network
|
||||||
[ -e network.${OS} ] && cat network.${OS} >> network
|
[ -e network.${OS} ] && cat network.${OS} >> network || true
|
||||||
|
@@ -1 +1,3 @@
|
|||||||
CONF+= ipfw moused powerd rarpd savecore syscons
|
CONF+= ipfw moused powerd rarpd savecore syscons
|
||||||
|
|
||||||
|
network.${OS}:
|
||||||
|
@@ -1 +1,3 @@
|
|||||||
CONF+= moused rarpd savecore
|
CONF+= moused rarpd savecore
|
||||||
|
|
||||||
|
network.${OS}:
|
||||||
|
@@ -450,7 +450,8 @@ svc_exec(const char *arg1, const char *arg2)
|
|||||||
master_tty = -1;
|
master_tty = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
ret = WEXITSTATUS(rc_waitpid(service_pid));
|
ret = rc_waitpid(service_pid);
|
||||||
|
ret = WEXITSTATUS(ret);
|
||||||
if (ret != 0 && errno == ECHILD)
|
if (ret != 0 && errno == ECHILD)
|
||||||
/* killall5 -9 could cause this */
|
/* killall5 -9 could cause this */
|
||||||
ret = 0;
|
ret = 0;
|
||||||
|
Reference in New Issue
Block a user