diff --git a/qubes_rpc/unpack.c b/qubes_rpc/unpack.c index e87a067..9c018fa 100644 --- a/qubes_rpc/unpack.c +++ b/qubes_rpc/unpack.c @@ -49,6 +49,7 @@ void send_status_and_crc(int code) { void do_exit(int code) { + close(0); send_status_and_crc(code); exit(code); }