lifecycle: only print skipping interface message if verbose

This commit is contained in:
Ariadne Conill 2020-08-24 11:33:56 -06:00
parent 3997b6a952
commit aefaaa7457

View file

@ -268,6 +268,7 @@ handle_dependents(const struct lif_execute_opts *opts, struct lif_interface *par
/* already up or down, skip */ /* already up or down, skip */
if (up == iface->is_up) if (up == iface->is_up)
{ {
if (opts->verbose)
fprintf(stderr, "ifupdown: skipping dependent interface %s (of %s)\n", fprintf(stderr, "ifupdown: skipping dependent interface %s (of %s)\n",
iface->ifname, parent->ifname); iface->ifname, parent->ifname);
continue; continue;