Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2014-12-20 20:47:22 +1000
committerAllan McRae <allan@archlinux.org>2014-12-24 11:19:28 +1000
commit863cfb5808c618d3cda54aa3dd73e721855049d4 (patch)
treee5d1d986c4427e683ac2a28cbc0b12dafc8ec6bf
parentd2d00e454353d5a420ce3406e9cd011e299d091d (diff)
Improve db upgrade error message
This message is clearer without (another) error prefix. Signed-off-by: Allan McRae <allan@archlinux.org>
-rw-r--r--src/pacman/conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pacman/conf.c b/src/pacman/conf.c
index 873ca0ee..7ffc4d59 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;
}