qrexec-client: ignore SIGPIPE

This caused qrexec-client to be killed when the local process
exited (by design) before consuming all the input, for instance
when receiving too much data for the admin.vm.volume.Import call.
pull/56/head mm_4f2a86d9
Pawel Marczewski 4 years ago
parent cb782bd07b
commit 4f2a86d956
No known key found for this signature in database
GPG Key ID: DE42EE9B14F96465

@ -708,6 +708,8 @@ int main(int argc, char **argv)
usage(argv[0]);
remote_cmdline = argv[optind];
signal(SIGPIPE, SIG_IGN);
register_exec_func(&do_exec);
if (just_exec + connect_existing + (local_cmdline != 0) > 1) {

Loading…
Cancel
Save