ifquery: don't build the dependency tree when querying for an interface's properties
This commit is contained in:
parent
9c76528fe1
commit
5615c30fd0
1 changed files with 1 additions and 1 deletions
|
@ -290,7 +290,7 @@ ifquery_main(int argc, char *argv[])
|
|||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
if (lif_lifecycle_count_rdepends(&exec_opts, &collection) == -1)
|
||||
if (match_opts.property == NULL && lif_lifecycle_count_rdepends(&exec_opts, &collection) == -1)
|
||||
{
|
||||
fprintf(stderr, "%s: could not validate dependency tree\n", argv0);
|
||||
return EXIT_FAILURE;
|
||||
|
|
Loading…
Reference in a new issue