From: Roy Marples Date: Mon, 21 Jul 2008 06:17:08 +0000 (+0000) Subject: Don't log waiting for carrier when backgrounding. X-Git-Tag: v4.0.2~152 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=242f97be36e14e210af7136e6e9f43bbe397adef;p=thirdparty%2Fdhcpcd.git Don't log waiting for carrier when backgrounding. --- diff --git a/client.c b/client.c index fc7cb3fb..1602cf1d 100644 --- a/client.c +++ b/client.c @@ -603,7 +603,8 @@ client_setup(struct if_state *state, const struct options *options) if (state->options & DHCPCD_LINK) { open_link_socket(iface); if (carrier_status(iface->name) == 0) { - if (state->options & DHCPCD_DAEMONISE) + if (state->options & DHCPCD_DAEMONISE && + !(state->options & DHCPCD_BACKGROUND)) logger(LOG_INFO, "waiting for carrier"); state->carrier = LINK_DOWN; }