diff options
author | Allan McRae <allan@archlinux.org> | 2014-12-20 11:47:22 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2014-12-24 02:19:28 +0100 |
commit | 863cfb5808c618d3cda54aa3dd73e721855049d4 (patch) | |
tree | e5d1d986c4427e683ac2a28cbc0b12dafc8ec6bf /src | |
parent | d2d00e454353d5a420ce3406e9cd011e299d091d (diff) | |
download | pacman-863cfb5808c618d3cda54aa3dd73e721855049d4.tar.gz pacman-863cfb5808c618d3cda54aa3dd73e721855049d4.tar.xz |
Improve db upgrade error message
This message is clearer without (another) error prefix.
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/pacman/conf.c | 2 |
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; } |