From 04816e014b7d37d74cadb50ccdfcdff958ab3ce2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Tue, 17 Mar 2015 22:55:15 +0100 Subject: [PATCH] qrexec: do not exit from qrexec-client until local process exit code is sent --- qrexec/qrexec-client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qrexec/qrexec-client.c b/qrexec/qrexec-client.c index 24e1ba4..0be3445 100644 --- a/qrexec/qrexec-client.c +++ b/qrexec/qrexec-client.c @@ -293,8 +293,8 @@ static void handle_input(libvchan_t *vchan) /* if this is "remote" service end and no real local process * exists (using own stdin/out) send also fake exit code */ send_exit_code(vchan, 0); + do_exit(0); } - do_exit(0); } } }