lifecycle: only print skipping interface message if verbose
This commit is contained in:
parent
3997b6a952
commit
aefaaa7457
1 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue