main: --static shouldn't change maximum_traverse_depth

feature/tap-sh
William Pitcock 2012-05-03 18:05:19 +00:00
parent 5996e37703
commit b26da6815c
1 changed files with 0 additions and 3 deletions

3
main.c
View File

@ -394,10 +394,7 @@ main(int argc, char *argv[])
} }
if (want_static) if (want_static)
{
maximum_traverse_depth++;
global_traverse_flags |= PKGF_SEARCH_PRIVATE; global_traverse_flags |= PKGF_SEARCH_PRIVATE;
}
if (want_env_only) if (want_env_only)
global_traverse_flags |= PKGF_ENV_ONLY; global_traverse_flags |= PKGF_ENV_ONLY;