mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Print 'empty file' warning only with --verbose.
This commit is contained in:
parent
b613817269
commit
74300e64f5
3 changed files with 10 additions and 3 deletions
|
@ -557,7 +557,7 @@ write_plaintext_packet (IOBUF out, IOBUF inp, const char *fname, int ptmode)
|
|||
int overflow;
|
||||
|
||||
if( !(tmpsize = iobuf_get_filelength(inp, &overflow))
|
||||
&& !overflow )
|
||||
&& !overflow && opt.verbose)
|
||||
log_info (_("WARNING: `%s' is an empty file\n"), fname);
|
||||
|
||||
/* We can't encode the length of very large files because
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue