Skip to content
Snippets Groups Projects

fix: fix silent error when alpm_db_update fails

Merged Kevin Morris requested to merge kevr/pyalpm:fix-silent-error into master
+ 1
1
@@ -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:
Loading