diff --git a/lib/initend.c b/lib/initend.c index a6a78921..af8177ce 100644 --- a/lib/initend.c +++ b/lib/initend.c @@ -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(); /*