xbps-bin: error msg when cachedir cannot be created.
This commit is contained in:
parent
b2840a3f16
commit
48f689d8e6
@ -145,6 +145,8 @@ again:
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (xbps_mkpath(xhp->cachedir, 0755) == -1) {
|
if (xbps_mkpath(xhp->cachedir, 0755) == -1) {
|
||||||
|
xbps_error_printf("xbps-bin: cannot mkdir cachedir "
|
||||||
|
"`%s': %s.\n", xhp->cachedir, strerror(errno));
|
||||||
free(binfile);
|
free(binfile);
|
||||||
return errno;
|
return errno;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user