diff options
author | 2008-03-12 13:31:22 +0000 | |
---|---|---|
committer | 2008-03-12 13:31:22 +0000 | |
commit | b215a882fd7e98ff38505d62bfc539bee124e0ee (patch) | |
tree | 1c6db570d17e77d80f6a9039e28746fc68d0efca | |
parent | if (class != BER_CLASS_UNIVERSAL || type != BER_TYPE_SEQUENCE) (diff) | |
download | wireguard-openbsd-b215a882fd7e98ff38505d62bfc539bee124e0ee.tar.xz wireguard-openbsd-b215a882fd7e98ff38505d62bfc539bee124e0ee.zip |
Code was not passing script exit status; fix with macro.
deraadt@ OK
-rw-r--r-- | sbin/dhclient/dhclient.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/dhclient/dhclient.c b/sbin/dhclient/dhclient.c index b0dec7c8f29..512a478e7c0 100644 --- a/sbin/dhclient/dhclient.c +++ b/sbin/dhclient/dhclient.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dhclient.c,v 1.116 2007/10/16 20:19:26 sobrado Exp $ */ +/* $OpenBSD: dhclient.c,v 1.117 2008/03/12 13:31:22 hugh Exp $ */ /* * Copyright 2004 Henning Brauer <henning@openbsd.org> @@ -1807,7 +1807,7 @@ priv_script_go(void) script_flush_env(); - return (wstatus & 0xff); + return (WEXITSTATUS(wstatus)); } void |