mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
Print verbose instructions in case of a corrupted trustdb.
This commit is contained in:
parent
12fa2baa62
commit
5d310a8de7
6 changed files with 35 additions and 8 deletions
|
@ -3372,8 +3372,8 @@ main (int argc, char **argv)
|
|||
case aGenRandom:
|
||||
case aDeArmor:
|
||||
case aEnArmor:
|
||||
case aFixTrustDB:
|
||||
break;
|
||||
case aFixTrustDB:
|
||||
case aExportOwnerTrust: rc = setup_trustdb( 0, trustdb_name ); break;
|
||||
case aListTrustDB: rc = setup_trustdb( argc? 1:0, trustdb_name ); break;
|
||||
default: rc = setup_trustdb(1, trustdb_name ); break;
|
||||
|
@ -3895,9 +3895,7 @@ main (int argc, char **argv)
|
|||
break;
|
||||
|
||||
case aFixTrustDB:
|
||||
log_error("this command is not yet implemented.\n");
|
||||
log_error("A workaround is to use \"--export-ownertrust\", remove\n");
|
||||
log_error("the trustdb file and do an \"--import-ownertrust\".\n" );
|
||||
how_to_fix_the_trustdb ();
|
||||
break;
|
||||
|
||||
case aListTrustPath:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue