1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-02-01 16:33:02 +01:00

With --quiet do not print reading passphrase from fd message.

Fix for bug#1403.
* g10/passphrase.c (read_passphrase_from_fd): Act on --quiet.
This commit is contained in:
Werner Koch 2012-04-29 11:54:28 +02:00
parent 509fe4ce5d
commit 7a852fba6c

View File

@ -140,7 +140,7 @@ read_passphrase_from_fd( int fd )
return;
}
if (!opt.batch )
if (!opt.batch && !opt.quiet)
tty_printf("Reading passphrase from file descriptor %d ...", fd );
for (pw = NULL, i = len = 100; ; i++ )
{