aboutsummaryrefslogtreecommitdiffstats
path: root/g10/g10.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/g10.c')
-rw-r--r--g10/g10.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/g10/g10.c b/g10/g10.c
index 955a8d946..3d42c3734 100644
--- a/g10/g10.c
+++ b/g10/g10.c
@@ -677,7 +677,7 @@ main( int argc, char **argv )
else if ( pargs.r_opt == oStatusFD ) {
/* this is needed to ensure that the status-fd filedescriptor is
* initialized when init_shm_coprocessing() is called */
- set_status_fd( pargs.r.ret_int );
+ set_status_fd( iobuf_translate_file_handle (pargs.r.ret_int, 1) );
}
#endif
}
@@ -1594,7 +1594,6 @@ g10_exit( int rc )
secmem_term();
rc = rc? rc : log_get_errorcount(0)? 2 :
g10_errors_seen? 1 : 0;
- /*write_status( STATUS_LEAVE );*/
exit(rc );
}