Not needed.
This commit is contained in:
parent
23e73957a0
commit
e84f71596e
@ -426,7 +426,6 @@ svc_exec(const char *arg1, const char *arg2)
|
|||||||
char *buffer;
|
char *buffer;
|
||||||
size_t bytes;
|
size_t bytes;
|
||||||
bool prefixed = false;
|
bool prefixed = false;
|
||||||
int selfd;
|
|
||||||
int slave_tty;
|
int slave_tty;
|
||||||
|
|
||||||
/* Setup our signal pipe */
|
/* 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);
|
buffer = xmalloc(sizeof(char) * BUFSIZ);
|
||||||
fd[0].fd = signal_pipe[0];
|
fd[0].fd = signal_pipe[0];
|
||||||
fd[0].events = fd[1].events = POLLIN;
|
fd[0].events = fd[1].events = POLLIN;
|
||||||
|
Loading…
Reference in New Issue
Block a user