diff options
Diffstat (limited to 'sbin/dhclient/dhclient.c')
-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 |