Reset SIGPIPE in qrexec_daemon, too.

This commit is contained in:
Rafal Wojtczuk 2011-03-11 13:08:19 +01:00
parent 04da9b62a7
commit 1a5bfd8c2b

View File

@ -282,6 +282,7 @@ void handle_trigger_exec(int req)
for (i = 3; i < 256; i++)
close(i);
signal(SIGCHLD, SIG_DFL);
signal(SIGPIPE, SIG_DFL);
execl("/usr/lib/qubes/qrexec_client", "qrexec_client", "-d",
domain_id, "-l", lcmd, rcmd, NULL);
perror("execl");