From da5ad3d052652c3a8488e27edb496dca175f6066 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 10 Nov 2015 12:05:20 +0100 Subject: [PATCH] lib/package_alternatives.c: fix builds on travis. --- lib/package_alternatives.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/package_alternatives.c b/lib/package_alternatives.c index 35c8bf21..e4d94e39 100644 --- a/lib/package_alternatives.c +++ b/lib/package_alternatives.c @@ -167,6 +167,7 @@ create_symlinks(struct xbps_handle *xhp, xbps_array_t a, const char *grname) tgt = xbps_xasprintf("%s%s", xhp->rootdir, tgt_dir); if (xbps_mkpath(tgt, 0755) != 0) { if (errno != EEXIST) { + rv = errno; xbps_dbg_printf(xhp, "failed to create symlink" "target dir '%s' for group '%s': %s\n", tgt, grname, strerror(errno));