Merge pull request #39 from ifupdown-ng/bugfix/skipping-interface-message-verbose
lifecycle: only print skipping interface message if verbose
This commit is contained in:
commit
24d092ee46
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 */
|
||||
if (up == iface->is_up)
|
||||
{
|
||||
fprintf(stderr, "ifupdown: skipping dependent interface %s (of %s)\n",
|
||||
iface->ifname, parent->ifname);
|
||||
if (opts->verbose)
|
||||
fprintf(stderr, "ifupdown: skipping dependent interface %s (of %s)\n",
|
||||
iface->ifname, parent->ifname);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue