summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-11-27 21:14:52 +0000
committerRoy Marples <roy@marples.name>2008-11-27 21:14:52 +0000
commite84f71596eca5da7c15e496a67ae70fae4129890 (patch)
tree2a2aaaf1634732a22c5a62b7c2c900480b88a24a
parent23e73957a067b775b0e2d5283417df2241746d50 (diff)
downloadopenrc-e84f71596eca5da7c15e496a67ae70fae4129890.tar.gz
openrc-e84f71596eca5da7c15e496a67ae70fae4129890.tar.bz2
openrc-e84f71596eca5da7c15e496a67ae70fae4129890.tar.xz
Not needed.
-rw-r--r--src/rc/runscript.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/rc/runscript.c b/src/rc/runscript.c
index 36804fb..1ca8f46 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;