aboutsummaryrefslogtreecommitdiffstats
path: root/g10/gpg.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/gpg.c')
-rw-r--r--g10/gpg.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/g10/gpg.c b/g10/gpg.c
index 2f9acb63d..7f3163186 100644
--- a/g10/gpg.c
+++ b/g10/gpg.c
@@ -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: