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,8 +268,9 @@ 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)
{ {
fprintf(stderr, "ifupdown: skipping dependent interface %s (of %s)\n", if (opts->verbose)
iface->ifname, parent->ifname); fprintf(stderr, "ifupdown: skipping dependent interface %s (of %s)\n",
iface->ifname, parent->ifname);
continue; continue;
} }