mirror of git://git.gnupg.org/gnupg.git
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…
Reference in New Issue