From f2ef0c0050973abfa4236d6da5138879a18d5f81 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 25 Feb 2011 13:41:57 +0100 Subject: [PATCH] xbps-bin: return rval if 'install' target cannot find a pkg. --- bin/xbps-bin/install.c | 1 - 1 file changed, 1 deletion(-) diff --git a/bin/xbps-bin/install.c b/bin/xbps-bin/install.c index d1b298a7..b01db38d 100644 --- a/bin/xbps-bin/install.c +++ b/bin/xbps-bin/install.c @@ -345,7 +345,6 @@ xbps_install_new_pkg(const char *pkg) if (rv == ENOENT) { fprintf(stderr, "xbps-bin: unable to locate '%s' in " "repository pool.\n", pkg); - rv = -1; } else { xbps_error_printf("xbps-bin: unexpected error: %s\n", strerror(rv));