xbps-query: unbreak -f/--files mode.
This commit is contained in:
parent
a6516505e9
commit
db14524cf3
@ -337,7 +337,7 @@ repo_show_pkg_files(struct xbps_handle *xhp, const char *pkg)
|
|||||||
{
|
{
|
||||||
xbps_dictionary_t pkgd;
|
xbps_dictionary_t pkgd;
|
||||||
|
|
||||||
pkgd = xbps_rpool_get_pkg_plist(xhp, pkg, "./files.plist");
|
pkgd = xbps_rpool_get_pkg_plist(xhp, pkg, "/files.plist");
|
||||||
if (pkgd == NULL) {
|
if (pkgd == NULL) {
|
||||||
if (errno != ENOTSUP && errno != ENOENT) {
|
if (errno != ENOTSUP && errno != ENOENT) {
|
||||||
fprintf(stderr, "Unexpected error: %s\n", strerror(errno));
|
fprintf(stderr, "Unexpected error: %s\n", strerror(errno));
|
||||||
|
Loading…
Reference in New Issue
Block a user