From: Roy Marples Date: Thu, 11 Oct 2007 13:21:02 +0000 (+0000) Subject: Return on all errors X-Git-Tag: v3.2.3~193 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9bb2bc68e98458ed8f8c9dde8b89faa3849ae7c9;p=thirdparty%2Fdhcpcd.git Return on all errors --- diff --git a/ipv4ll.c b/ipv4ll.c index bb6a7b1f..e56e13f7 100644 --- a/ipv4ll.c +++ b/ipv4ll.c @@ -44,7 +44,7 @@ int ipv4ll_get_address (interface_t *iface, dhcp_t *dhcp) { if (! arp_claim (iface, addr)) break; /* Our ARP may have been interrupted */ - if (errno == EINTR) + if (errno) return (-1); }