Fix compile on NetBSD and FreeBSD
This commit is contained in:
parent
e575b33047
commit
43063ae7c2
@ -11,4 +11,4 @@ include ${MK}/scripts.mk
|
||||
|
||||
network: network.in network.${OS}
|
||||
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
|
||||
|
||||
network.${OS}:
|
||||
|
@ -1 +1,3 @@
|
||||
CONF+= moused rarpd savecore
|
||||
|
||||
network.${OS}:
|
||||
|
@ -450,7 +450,8 @@ svc_exec(const char *arg1, const char *arg2)
|
||||
master_tty = -1;
|
||||
}
|
||||
|
||||
ret = WEXITSTATUS(rc_waitpid(service_pid));
|
||||
ret = rc_waitpid(service_pid);
|
||||
ret = WEXITSTATUS(ret);
|
||||
if (ret != 0 && errno == ECHILD)
|
||||
/* killall5 -9 could cause this */
|
||||
ret = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user