xbps-bin: return rval if 'install' target cannot find a pkg.
This commit is contained in:
parent
2eb7331907
commit
f2ef0c0050
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user