From e84f71596eca5da7c15e496a67ae70fae4129890 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Thu, 27 Nov 2008 21:14:52 +0000 Subject: Not needed. --- src/rc/runscript.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/rc') diff --git a/src/rc/runscript.c b/src/rc/runscript.c index 36804fbc..1ca8f464 100644 --- a/src/rc/runscript.c +++ b/src/rc/runscript.c @@ -426,7 +426,6 @@ svc_exec(const char *arg1, const char *arg2) char *buffer; size_t bytes; bool prefixed = false; - int selfd; int slave_tty; /* Setup our signal pipe */ @@ -485,7 +484,6 @@ svc_exec(const char *arg1, const char *arg2) } } - selfd = MAX(master_tty, signal_pipe[0]) + 1; buffer = xmalloc(sizeof(char) * BUFSIZ); fd[0].fd = signal_pipe[0]; fd[0].events = fd[1].events = POLLIN; -- cgit v1.2.3