xbps-pkgdb: fix the register target.
--HG-- extra : convert_revision : 4259cf00cd001d386a841200242d94cc18604c93
This commit is contained in:
parent
b24db2af76
commit
074f4dddeb
|
@ -243,7 +243,7 @@ main(int argc, char **argv)
|
||||||
/* Add array into main dictionary. */
|
/* Add array into main dictionary. */
|
||||||
dbdict = prop_dictionary_create();
|
dbdict = prop_dictionary_create();
|
||||||
if (!xbps_add_obj_to_dict(dbdict, dbarray,
|
if (!xbps_add_obj_to_dict(dbdict, dbarray,
|
||||||
"packages_installed")) {
|
"packages")) {
|
||||||
printf("=> ERROR: couldn't register pkg\n");
|
printf("=> ERROR: couldn't register pkg\n");
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue