Bug #9267 » dhclient-patch.txt
| 1 |
Index: sbin/dhclient/dhclient.c |
|---|---|
| 2 |
=================================================================== |
| 3 |
--- sbin/dhclient/dhclient.c (revision 342377) |
| 4 |
+++ sbin/dhclient/dhclient.c (working copy) |
| 5 |
@@ -2316,7 +2316,7 @@ |
| 6 |
if (ip) |
| 7 |
script_flush_env(ip->client); |
| 8 |
|
| 9 |
- return (wstatus & 0xff); |
| 10 |
+ return WEXITSTATUS(wstatus); |
| 11 |
} |
| 12 |
|
| 13 |
void |
- « Previous
- 1
- 2
- Next »