check_installed_pkgname: returns a bool, so EINVAL is wrong.
--HG-- extra : convert_revision : 6f3d615a27a1bf76962b6daf88929efa8d5cde8e
This commit is contained in:
parent
fe8ea8c21c
commit
388dd30b45
|
@ -45,7 +45,7 @@ check_installed_pkgname(const char *pkgname)
|
|||
|
||||
plist = xbps_append_full_path(true, NULL, XBPS_REGPKGDB);
|
||||
if (plist == NULL)
|
||||
return EINVAL;
|
||||
return false;
|
||||
|
||||
pkgd = xbps_find_pkg_from_plist(plist, pkgname);
|
||||
free(plist);
|
||||
|
|
Loading…
Reference in New Issue
Block a user