mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-28 11:57:28 +00:00
3b08e0fcf3
r343896 made it such that a non-zero exit status was passed through, but was still wrong if the script exits on a signal. POSIX does not say what the WEXITSTATUS macro returns in this case and in practice 0 is a common value. Instead, translate the wait status into 8 bits the same way as the shell calculates $?. Reviewed by: kib, Nash Kaminski MFC after: 1 week |
||
---|---|---|
.. | ||
tests | ||
alloc.c | ||
bpf.c | ||
clparse.c | ||
conflex.c | ||
convert.c | ||
dhclient-script | ||
dhclient-script.8 | ||
dhclient.8 | ||
dhclient.c | ||
dhclient.conf | ||
dhclient.conf.5 | ||
dhclient.leases.5 | ||
dhcp-options.5 | ||
dhcp.h | ||
dhcpd.h | ||
dhctoken.h | ||
dispatch.c | ||
errwarn.c | ||
hash.c | ||
inet.c | ||
Makefile | ||
Makefile.depend | ||
options.c | ||
packet.c | ||
parse.c | ||
privsep.c | ||
privsep.h | ||
tables.c | ||
tree.c | ||
tree.h |