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));
|
strerror(rv));
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
return 0;
|
return rv;
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
|
Loading…
Reference in New Issue
Block a user