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));