xbps-query: fix an obvious tyop that broke -RX.
This commit is contained in:
parent
d7c7783ac2
commit
3f22aca00c
@ -198,9 +198,9 @@ show_pkg_revdeps(struct xbps_handle *xhp, const char *pkg, bool repomode)
|
|||||||
const char *pkgdep;
|
const char *pkgdep;
|
||||||
|
|
||||||
if (repomode)
|
if (repomode)
|
||||||
revdeps = xbps_pkgdb_get_pkg_revdeps(xhp, pkg);
|
|
||||||
else
|
|
||||||
revdeps = xbps_rpool_get_pkg_revdeps(xhp, pkg);
|
revdeps = xbps_rpool_get_pkg_revdeps(xhp, pkg);
|
||||||
|
else
|
||||||
|
revdeps = xbps_pkgdb_get_pkg_revdeps(xhp, pkg);
|
||||||
|
|
||||||
if (revdeps == NULL)
|
if (revdeps == NULL)
|
||||||
return ENOENT;
|
return ENOENT;
|
||||||
|
Loading…
Reference in New Issue
Block a user