xbps_init: print xhp->conffile if set in a dbg printf.

This commit is contained in:
Juan RP 2011-12-29 10:57:24 +01:00
parent f4f995574c
commit 0d44ae267c

View File

@ -137,6 +137,8 @@ xbps_init(struct xbps_handle *xh)
return ENOTSUP; return ENOTSUP;
} }
} }
xbps_dbg_printf("Configuration file: %s\n",
xhp->conffile ? xhp->conffile : "unset");
/* /*
* Respect client setting in struct xbps_handle for {root,cache}dir; * Respect client setting in struct xbps_handle for {root,cache}dir;
* otherwise use values from configuration file or defaults if unset. * otherwise use values from configuration file or defaults if unset.