summaryrefslogtreecommitdiffstats
path: root/g10/tdbio.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>1999-04-18 10:18:52 +0200
committerWerner Koch <wk@gnupg.org>1999-04-18 10:18:52 +0200
commit1feae2011ccd122ffb9a8f28013a13e57fc0b4fd (patch)
tree981a2000ffe3b4349bf3f2b8dbe845a60c15c95a /g10/tdbio.c
parentSee ChangeLog: Fri Apr 9 12:26:25 CEST 1999 Werner Koch (diff)
downloadgnupg2-1feae2011ccd122ffb9a8f28013a13e57fc0b4fd.tar.xz
gnupg2-1feae2011ccd122ffb9a8f28013a13e57fc0b4fd.zip
See ChangeLog: Sun Apr 18 10:11:28 CEST 1999 Werner Koch
Diffstat (limited to 'g10/tdbio.c')
-rw-r--r--g10/tdbio.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/g10/tdbio.c b/g10/tdbio.c
index 9bcb6aa14..1d05aae37 100644
--- a/g10/tdbio.c
+++ b/g10/tdbio.c
@@ -443,7 +443,7 @@ tdbio_set_dbname( const char *new_dbname, int create )
#endif
log_fatal( _("%s: can't create directory: %s\n"),
fname, strerror(errno) );
- else
+ else if( !opt.quiet )
log_info( _("%s: directory created\n"), fname );
copy_options_file( fname );
}
@@ -489,7 +489,8 @@ tdbio_set_dbname( const char *new_dbname, int create )
if( tdbio_read_record( 0, &rec, RECTYPE_VER ) )
log_fatal( _("%s: invalid trustdb created\n"), db_name );
- log_info(_("%s: trustdb created\n"), db_name);
+ if( !opt.quiet )
+ log_info(_("%s: trustdb created\n"), db_name);
return 0;
}