diff options
author | Werner Koch <[email protected]> | 2009-07-22 09:43:10 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2009-07-22 09:43:10 +0000 |
commit | 5d310a8de75e513ac0d44b2960966a631dae9670 (patch) | |
tree | ea684db1398d32be5f22613b259770eb861571aa /g10/gpg.c | |
parent | Fix i18n bug. (diff) | |
download | gnupg-5d310a8de75e513ac0d44b2960966a631dae9670.tar.gz gnupg-5d310a8de75e513ac0d44b2960966a631dae9670.zip |
Print verbose instructions in case of a corrupted trustdb.
Diffstat (limited to 'g10/gpg.c')
-rw-r--r-- | g10/gpg.c | 6 |
1 files changed, 2 insertions, 4 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: |