[pacman-dev] [PATCH] Fix minor bug in database.c
Charles Pigott
charlespigott at googlemail.com
Thu Mar 5 12:38:29 UTC 2015
I was idly browsing the pacman source code, when i noticed this.
Told you it was minor!
(Hopefully git/gmail haven't screwed up tabs/spaces too badly)
Charles Pigott (1):
Actually return the error value of check_db_local
src/pacman/database.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--
2.3.1
>From e4423cc941f02ebefd450d1b75465686c3f03c10 Mon Sep 17 00:00:00 2001
From: Charles Pigott <charlespigott at googlemail.com>
Date: Thu, 5 Mar 2015 12:15:51 +0000
Subject: [PATCH] Actually return the error value of check_db_local
Signed-off-by: Charles Pigott <charlespigott at googlemail.com>
---
src/pacman/database.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/pacman/database.c b/src/pacman/database.c
index abc3fd2..2b694ae 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;
}
/**
--
2.3.1
More information about the pacman-dev
mailing list