[pacman-dev] [PATCH 1/5] Improve db upgrade error message
20 Dec
2014
20 Dec
'14
10:57 a.m.
This message is clearer without (another) error prefix. Signed-off-by: Allan McRae <allan@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
3657
Age (days ago)
3657
Last active (days ago)
0 comments
1 participants
participants (1)
-
Allan McRae