aboutsummaryrefslogtreecommitdiffstats
path: root/g10/sign.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2009-05-11 09:20:57 +0000
committerWerner Koch <[email protected]>2009-05-11 09:20:57 +0000
commit74300e64f52bc74af58dcbb6f44712aa8f3290d2 (patch)
tree812657cdfc70e7c4f7c06d02a267c7f74aa35c56 /g10/sign.c
parent* keyserver.c (keyserver_typemap): gpgkeys_hkp handles hkps as well. (diff)
downloadgnupg-74300e64f52bc74af58dcbb6f44712aa8f3290d2.tar.gz
gnupg-74300e64f52bc74af58dcbb6f44712aa8f3290d2.zip
Print 'empty file' warning only with --verbose.
Diffstat (limited to 'g10/sign.c')
-rw-r--r--g10/sign.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/sign.c b/g10/sign.c
index 597aba786..0528427db 100644
--- a/g10/sign.c
+++ b/g10/sign.c
@@ -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