mirror of
https://github.com/moparisthebest/pacman
synced 2024-11-15 22:05:02 -05:00
Improve db upgrade error message
This message is clearer without (another) error prefix. Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
d2d00e4543
commit
863cfb5808
@ -680,7 +680,7 @@ static int setup_libalpm(void)
|
|||||||
pm_printf(ALPM_LOG_ERROR, _("failed to initialize alpm library\n(%s: %s)\n"),
|
pm_printf(ALPM_LOG_ERROR, _("failed to initialize alpm library\n(%s: %s)\n"),
|
||||||
alpm_strerror(err), config->dbpath);
|
alpm_strerror(err), config->dbpath);
|
||||||
if(err == ALPM_ERR_DB_VERSION) {
|
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;
|
return -1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user