xbps-bin: return proper error value if update target fails.
This commit is contained in:
parent
cf1b893995
commit
1031ea0141
@ -290,7 +290,7 @@ update_pkg(const char *pkgname)
|
||||
strerror(rv));
|
||||
return -1;
|
||||
}
|
||||
return 0;
|
||||
return rv;
|
||||
}
|
||||
|
||||
int
|
||||
|
Loading…
Reference in New Issue
Block a user