lib/repo.c: fix CID 62783 correctly
This commit is contained in:
parent
68ef66eb51
commit
be256ed77b
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user