mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
gpgtar: Fix new --status-fd handling.
-- Fixes-commit: f84264e8acf742793c73ce78491cab61fac37051
This commit is contained in:
parent
f84264e8ac
commit
851ac88bde
@ -493,7 +493,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…
x
Reference in New Issue
Block a user