qrexec: do not exit from qrexec-client until local process exit code is sent

This commit is contained in:
Marek Marczykowski-Górecki 2015-03-17 22:55:15 +01:00
parent 662813dc18
commit 04816e014b

View File

@ -293,8 +293,8 @@ static void handle_input(libvchan_t *vchan)
/* if this is "remote" service end and no real local process /* if this is "remote" service end and no real local process
* exists (using own stdin/out) send also fake exit code */ * exists (using own stdin/out) send also fake exit code */
send_exit_code(vchan, 0); send_exit_code(vchan, 0);
do_exit(0);
} }
do_exit(0);
} }
} }
} }