index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | lib/libalpm/be_local.c | 3 |
diff --git a/lib/libalpm/be_local.c b/lib/libalpm/be_local.c index edb62054..d5edf34c 100644 --- a/lib/libalpm/be_local.c +++ b/lib/libalpm/be_local.c @@ -384,7 +384,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) { |