xbps-bin: return proper error value if update target fails.

This commit is contained in:
Juan RP 2011-10-31 21:28:21 +01:00
parent cf1b893995
commit 1031ea0141

View File

@ -290,7 +290,7 @@ update_pkg(const char *pkgname)
strerror(rv));
return -1;
}
return 0;
return rv;
}
int