From a0cc519829ff7ff5eadc1442439d69fcb87e034a Mon Sep 17 00:00:00 2001 From: C. McEnroe Date: Thu, 24 Jun 2021 17:38:18 -0400 Subject: Move setting CLOEXEC on socket to ircConnect --- chat.c | 1 - 1 file changed, 1 deletion(-) (limited to 'chat.c') diff --git a/chat.c b/chat.c index 170094f..873eed9 100644 --- a/chat.c +++ b/chat.c @@ -338,7 +338,6 @@ int main(int argc, char *argv[]) { signal(SIGTERM, signalHandler); signal(SIGCHLD, signalHandler); - fcntl(irc, F_SETFD, FD_CLOEXEC); bool pipes = !self.kiosk && !self.restricted; if (pipes) { int error = pipe(utilPipe) || pipe(execPipe); -- cgit 1.4.1-2-gfad0