1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

Print verbose instructions in case of a corrupted trustdb.

This commit is contained in:
Werner Koch 2009-07-22 09:43:10 +00:00
parent 12fa2baa62
commit 5d310a8de7
6 changed files with 35 additions and 8 deletions

View file

@ -1499,12 +1499,11 @@ tdbio_search_trust_bypk (PKT_public_key *pk, TRUSTREC *rec)
}
void
tdbio_invalid(void)
{
log_error(_(
"the trustdb is corrupted; please run \"gpg --fix-trustdb\".\n") );
g10_exit(2);
log_error (_("Error: The trustdb is corrupted.\n"));
how_to_fix_the_trustdb ();
g10_exit (2);
}