mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
gpgtar: Print a result status with skipped files.
* tools/gpgtar.h (struct tarinfo_s): Add new fields. * tools/gpgtar-extract.c (check_suspicious_name): Add arg info. (extract_regular): Count files. (gpgtar_extract): Print stats.
This commit is contained in:
parent
ed9a420a22
commit
0045583cd2
4 changed files with 70 additions and 11 deletions
|
@ -487,7 +487,7 @@ main (int argc, char **argv)
|
|||
|
||||
/* Set status stream for our own use of --status-fd. The original
|
||||
* status fd is passed verbatim to gpg. */
|
||||
if (opt.status_fd)
|
||||
if (opt.status_fd != -1)
|
||||
{
|
||||
int fd = translate_sys2libc_fd_int (opt.status_fd, 1);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue