summaryrefslogtreecommitdiffstats
path: root/dhcpcd.c
diff options
context:
space:
mode:
Diffstat (limited to 'dhcpcd.c')
-rw-r--r--dhcpcd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dhcpcd.c b/dhcpcd.c
index 1805265c..53952259 100644
--- a/dhcpcd.c
+++ b/dhcpcd.c
@@ -1192,7 +1192,7 @@ handle_ifa(int type, const char *ifname,
static void
handle_link(_unused void *arg)
{
- if (manage_link(linkfd))
+ if (manage_link(linkfd) == -1)
syslog(LOG_ERR, "manage_link: %m");
}