diff options
Diffstat (limited to '')
-rw-r--r-- | g10/encode.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/g10/encode.c b/g10/encode.c index 14ecbb54d..251ea3e2c 100644 --- a/g10/encode.c +++ b/g10/encode.c @@ -858,6 +858,7 @@ encode_crypt_files(int nfiles, char **files, STRLIST remusr) log_error("encryption of `%s' failed: %s\n", print_fname_stdin(line), g10_errstr(rc) ); write_status( STATUS_FILE_DONE ); + iobuf_ioctl( NULL, 2, 0, NULL); /* Invalidate entire cache. */ } } else @@ -869,6 +870,7 @@ encode_crypt_files(int nfiles, char **files, STRLIST remusr) log_error("encryption of `%s' failed: %s\n", print_fname_stdin(*files), g10_errstr(rc) ); write_status( STATUS_FILE_DONE ); + iobuf_ioctl( NULL, 2, 0, NULL); /* Invalidate entire cache. */ files++; } } |