Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/be_local.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-05-05 13:25:10 -0500
committerDan McGee <dan@archlinux.org>2011-05-05 13:25:10 -0500
commit6b308d89f97340c16e3e805afcc80d70a1c5eebe (patch)
tree3dddd359d462fea54ba75350caa492a93f450a05 /lib/libalpm/be_local.c
parentf2d696cd515ef0365d9708eb3d1caa439e2cc790 (diff)
parentb14c5477e5e4483352d304a1e97de5922948b934 (diff)
Merge branch 'maint'
Diffstat (limited to 'lib/libalpm/be_local.c')
-rw-r--r--lib/libalpm/be_local.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libalpm/be_local.c b/lib/libalpm/be_local.c
index bdfdb4fd..36105452 100644
--- a/lib/libalpm/be_local.c
+++ b/lib/libalpm/be_local.c
@@ -352,7 +352,8 @@ static int local_db_populate(pmdb_t *db)
dbpath = _alpm_db_path(db);
if(dbpath == NULL) {
- RET_ERR(PM_ERR_DB_OPEN, -1);
+ /* pm_errno set in _alpm_db_path() */
+ return -1;
}
dbdir = opendir(dbpath);
if(dbdir == NULL) {