[pacman-dev] [PATCH 1/5] Improve db upgrade error message
Allan McRae
allan at archlinux.org
Sat Dec 20 10:57:21 UTC 2014
This message is clearer without (another) error prefix.
Signed-off-by: Allan McRae <allan at archlinux.org>
---
src/pacman/conf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/pacman/conf.c b/src/pacman/conf.c
index 873ca0e..7ffc4d5 100644
--- a/src/pacman/conf.c
+++ b/src/pacman/conf.c
@@ -680,7 +680,7 @@ static int setup_libalpm(void)
pm_printf(ALPM_LOG_ERROR, _("failed to initialize alpm library\n(%s: %s)\n"),
alpm_strerror(err), config->dbpath);
if(err == ALPM_ERR_DB_VERSION) {
- pm_printf(ALPM_LOG_ERROR, _(" try running pacman-db-upgrade\n"));
+ fprintf(stderr, _("try running pacman-db-upgrade\n"));
}
return -1;
}
--
2.2.0
More information about the pacman-dev
mailing list