mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
Do not print read-only trustdb warning with --quiet.
This is only a warning and gpg would anyway print an error message if it tries to write to the trustdb.
This commit is contained in:
parent
809dfd70e3
commit
fe8619d29c
@ -1,3 +1,7 @@
|
||||
2011-07-29 Werner Koch <wk@g10code.com>
|
||||
|
||||
* tdbio.c (open_db): Do not print read-only warning in quiet mode.
|
||||
|
||||
2011-07-18 Werner Koch <wk@g10code.com>
|
||||
|
||||
* parse-packet.c (parse_key): Print the decoded iteration count.
|
||||
|
@ -640,7 +640,7 @@ open_db()
|
||||
) {
|
||||
/* Take care of read-only trustdbs. */
|
||||
db_fd = open (db_name, O_RDONLY | MY_O_BINARY );
|
||||
if (db_fd != -1)
|
||||
if (db_fd != -1 && !opt.quiet)
|
||||
log_info (_("NOTE: trustdb not writable\n"));
|
||||
}
|
||||
if ( db_fd == -1 )
|
||||
|
Loading…
x
Reference in New Issue
Block a user