diff --git a/bin/xbps-bin/install.c b/bin/xbps-bin/install.c index b5ad81e4..f6baa3f9 100644 --- a/bin/xbps-bin/install.c +++ b/bin/xbps-bin/install.c @@ -290,7 +290,7 @@ update_pkg(const char *pkgname) strerror(rv)); return -1; } - return 0; + return rv; } int