diff options
Diffstat (limited to 'g10/mainproc.c')
-rw-r--r-- | g10/mainproc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/mainproc.c b/g10/mainproc.c index a773fde19..33a654b34 100644 --- a/g10/mainproc.c +++ b/g10/mainproc.c @@ -1264,7 +1264,7 @@ do_proc_packets( CTX c, IOBUF a ) free_packet(pkt); /* stop processing when an invalid packet has been encountered * but don't do so when we are doing a --list-packets. */ - if( rc == G10ERR_INVALID_PACKET && opt.list_packets != 2 ) + if( rc == G10ERR_INVALID_PACKET && opt.list_packets == 0 ) break; continue; } |