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:
parent
c950441537
commit
bea146c724
@ -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();
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user