lib/repo.c: fix CID 62783 correctly

This commit is contained in:
Juan RP 2014-10-05 13:11:59 +02:00
parent 68ef66eb51
commit be256ed77b

View File

@ -513,6 +513,7 @@ xbps_repo_key_import(struct xbps_repo *repo)
if (rv == ENOENT)
rv = xbps_mkpath(dbkeyd, 0755);
if (rv != 0) {
rv = errno;
xbps_dbg_printf(repo->xhp,
"[repo] `%s' cannot create %s: %s\n",
repo->uri, dbkeyd, strerror(errno));