From 4b02a75629c05f4a50c29ef307c5f541053d40aa Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 5 Mar 2012 17:29:02 +0100 Subject: [PATCH] xbps_init: fix a typo when checking for the configuration file. --- lib/initend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/initend.c b/lib/initend.c index 23b95cd2..28cce481 100644 --- a/lib/initend.c +++ b/lib/initend.c @@ -121,7 +121,7 @@ xbps_init(struct xbps_handle *xh) cfg_set_validate_func(xhp->cfg, "virtual-package", &cb_validate_virtual); if ((rv = cfg_parse(xhp->cfg, xhp->conffile)) != CFG_SUCCESS) { - if (rv == CFG_PARSE_ERROR) { + if (rv == CFG_FILE_ERROR) { if (errno != ENOENT) { /* * Don't error out if config file not found.