diff options
author | Roy Marples <roy@marples.name> | 2008-11-27 21:14:52 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2008-11-27 21:14:52 +0000 |
commit | e84f71596eca5da7c15e496a67ae70fae4129890 (patch) | |
tree | 2a2aaaf1634732a22c5a62b7c2c900480b88a24a /src | |
parent | 23e73957a067b775b0e2d5283417df2241746d50 (diff) |
Not needed.
Diffstat (limited to 'src')
-rw-r--r-- | src/rc/runscript.c | 2 |
1 files changed, 0 insertions, 2 deletions
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; |