From 1be0819e08deade399c3f5d78b0e36a146dd2943 Mon Sep 17 00:00:00 2001 From: Andrew Pamment Date: Sun, 11 Dec 2016 23:23:51 +1000 Subject: [PATCH] Maybe I fix what I broke this time? --- doors.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/doors.c b/doors.c index 47ba63c..0670b29 100644 --- a/doors.c +++ b/doors.c @@ -238,8 +238,6 @@ void runexternal(struct user_record *user, char *cmd, int stdio, char *argv[], c gotiac = 0; flush = 0; - close(slave); - while(running_door || !flush) { FD_ZERO(&fdset); FD_SET(master, &fdset);