summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCharles Pigott <charlespigott@googlemail.com>2015-03-08 12:11:09 +1000
committerAllan McRae <allan@archlinux.org>2015-03-15 15:32:58 +1000
commitf34e48a9886150147da4864230b6804d6f6ccc58 (patch)
treee68349b0cb922c8effb9f5c5fb9053c16db3874a /src
parentf9cb4f3b9cc693a3723bd840682d399bcd1f3c87 (diff)
downloadpacman-f34e48a9886150147da4864230b6804d6f6ccc58.tar.xz
Actually return the error value of check_db_local
Signed-off-by: Charles Pigott <charlespigott@googlemail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'src')
-rw-r--r--src/pacman/database.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pacman/database.c b/src/pacman/database.c
index abc3fd28..2b694ae7 100644
--- a/src/pacman/database.c
+++ b/src/pacman/database.c
@@ -253,7 +253,7 @@ static int check_db_local(void) {
ret += check_db_local_package_conflicts(pkglist);
ret += check_db_local_filelist_conflicts(pkglist);
- return 0;
+ return ret;
}
/**