Verified Commit 6a0b75da authored by Kevin Morris's avatar Kevin Morris
Browse files

fix: fix silent error when alpm_db_update fails



Signed-off-by: Kevin Morris's avatarKevin Morris <kevr@0cost.org>
parent 05e5da16
......@@ -206,7 +206,7 @@ static PyObject *pyalpm_db_update(PyObject *rawself, PyObject *args, PyObject *k
switch(ret) {
case -1:
RET_ERR("unable to update database", 0, NULL);
RET_ERR("unable to update database", alpm_errno(handle), NULL);
case 0:
Py_RETURN_TRUE;
case 1:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment