main: use PKGF_SKIP_ROOT_VIRTUAL when looking for variables

feature/tap-sh
William Pitcock 2012-05-06 23:30:02 -05:00
parent f1bd223f7f
commit 07a414677b
1 changed files with 1 additions and 1 deletions

2
main.c
View File

@ -409,7 +409,7 @@ pkg_queue_walk(pkg_queue_t *head)
if (want_variable)
{
wanted_something++;
pkg_traverse(&world, print_variable, NULL, 2, global_traverse_flags);
pkg_traverse(&world, print_variable, NULL, 2, global_traverse_flags | PKGF_SKIP_ROOT_VIRTUAL);
}
if (wanted_something)