lib/initend.c: Fix user virtual packages

Dictionary was never initialized because of wrong condition check

Closes: #265 [via git-merge-pr]
This commit is contained in:
kayvenm 2017-12-19 12:51:53 -05:00 committed by Duncaen
parent c950441537
commit bea146c724

View File

@ -66,7 +66,7 @@ store_vars(struct xbps_handle *xhp, xbps_dictionary_t *d,
if (*d == NULL)
*d = xbps_dictionary_create();
if (xhp->vpkgd_conf)
if (xhp->vpkgd_conf == NULL)
xhp->vpkgd_conf = xbps_dictionary_create();
/*