From 8dccf882f72d5036bec2b8277e54779bcd71ce0c Mon Sep 17 00:00:00 2001 From: David Shaw Date: Wed, 4 Sep 2002 02:48:47 +0000 Subject: * mainproc.c (print_pkenc_list): Don't increment the error counter when printing the list of keys a message was encrypted to. This would make gpg give a non-zero exit code even for completely valid messages if the message was encrypted to more than one key that the user owned. --- g10/mainproc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'g10/mainproc.c') diff --git a/g10/mainproc.c b/g10/mainproc.c index 38aaac0d9..cea88994b 100644 --- a/g10/mainproc.c +++ b/g10/mainproc.c @@ -431,7 +431,7 @@ print_pkenc_list( struct kidlist_item *list, int failed ) } } else if (list->reason) - log_error(_("public key decryption failed: %s\n"), + log_info(_("public key decryption failed: %s\n"), g10_errstr(list->reason)); } } -- cgit