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.
This commit is contained in:
parent
cb782bd07b
commit
4f2a86d956
@ -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…
Reference in New Issue
Block a user