aboutsummaryrefslogtreecommitdiffstats
path: root/g10/g10.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/g10.c')
-rw-r--r--g10/g10.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/g10/g10.c b/g10/g10.c
index ab6a28d2a..945ed0495 100644
--- a/g10/g10.c
+++ b/g10/g10.c
@@ -1243,7 +1243,9 @@ main( int argc, char **argv )
set_packet_list_mode(1);
opt.list_packets=1;
}
- proc_packets(NULL, a );
+ rc = proc_packets(NULL, a );
+ if( rc )
+ log_error("processing message failed: %s\n", g10_errstr(rc) );
iobuf_close(a);
}
break;