From 48f689d8e6d3fe4162a533c779631014c9fa598f Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 4 Jun 2011 16:37:05 +0200 Subject: [PATCH] xbps-bin: error msg when cachedir cannot be created. --- bin/xbps-bin/install.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/xbps-bin/install.c b/bin/xbps-bin/install.c index 2edfe47f..b1b2c57a 100644 --- a/bin/xbps-bin/install.c +++ b/bin/xbps-bin/install.c @@ -145,6 +145,8 @@ again: continue; } if (xbps_mkpath(xhp->cachedir, 0755) == -1) { + xbps_error_printf("xbps-bin: cannot mkdir cachedir " + "`%s': %s.\n", xhp->cachedir, strerror(errno)); free(binfile); return errno; }