From 07a414677b133f6e520778cc35ba5ab842de5035 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Sun, 6 May 2012 23:30:02 -0500 Subject: [PATCH] main: use PKGF_SKIP_ROOT_VIRTUAL when looking for variables --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index 088c7ad..8ca82fc 100644 --- a/main.c +++ b/main.c @@ -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)