summaryrefslogtreecommitdiffstats
path: root/src/Daemon/Daemon.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Daemon/Daemon.cpp')
-rw-r--r--src/Daemon/Daemon.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Daemon/Daemon.cpp b/src/Daemon/Daemon.cpp
index 73840973..3d8df570 100644
--- a/src/Daemon/Daemon.cpp
+++ b/src/Daemon/Daemon.cpp
@@ -743,6 +743,8 @@ int main(int argc, char** argv)
msg_prefix = "abrtd: "; /* for log(), error_msg() and such */
xpipe(s_signal_pipe);
+ close_on_exec_on(s_signal_pipe[0]);
+ close_on_exec_on(s_signal_pipe[1]);
signal(SIGTERM, handle_fatal_signal);
signal(SIGINT, handle_fatal_signal);
if (s_timeout)