lib/initend.c: print dbg msg about successful vpkg conf files read.
This commit is contained in:
parent
004758b70f
commit
6c96fe32cc
@ -108,12 +108,13 @@ config_inject_vpkgs(struct xbps_handle *xh)
|
|||||||
path = xbps_xasprintf("%s/%s", vpkgdir, dp->d_name);
|
path = xbps_xasprintf("%s/%s", vpkgdir, dp->d_name);
|
||||||
fp = fopen(path, "r");
|
fp = fopen(path, "r");
|
||||||
assert(fp);
|
assert(fp);
|
||||||
free(path);
|
|
||||||
if (cfg_parse_fp(xh->cfg, fp) != 0) {
|
if (cfg_parse_fp(xh->cfg, fp) != 0) {
|
||||||
xbps_error_printf("Failed to parse "
|
xbps_error_printf("Failed to parse "
|
||||||
"vpkg conf file %s:\n", dp->d_name);
|
"vpkg conf file %s:\n", dp->d_name);
|
||||||
}
|
}
|
||||||
fclose(fp);
|
fclose(fp);
|
||||||
|
xbps_dbg_printf(xh, "Injected vpkgs from %s\n", path);
|
||||||
|
free(path);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
closedir(dirp);
|
closedir(dirp);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user