aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--winsup/utils/mingw/cygcheck.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/utils/mingw/cygcheck.cc b/winsup/utils/mingw/cygcheck.cc
index b5bad4e..9d6f192 100644
--- a/winsup/utils/mingw/cygcheck.cc
+++ b/winsup/utils/mingw/cygcheck.cc
@@ -2645,7 +2645,7 @@ package_info (char **search, int selector)
return 1;
if ((selector & INFO_ALL) == 0)
- selector = INFO_ALL;
+ selector |= INFO_ALL;
inst_pkgs = get_installed_packages (NULL, &inst_pkg_count);