mirror of
https://github.com/zhaojh329/rtty.git
synced 2026-02-27 09:53:17 +08:00
fix: Fix the issue #132
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
This commit is contained in:
+1
-1
@@ -249,8 +249,8 @@ static void run_task(struct task *t)
|
||||
{
|
||||
int opipe[2];
|
||||
int epipe[2];
|
||||
int err = 0;
|
||||
pid_t pid;
|
||||
int err;
|
||||
|
||||
if (pipe2(opipe, O_CLOEXEC | O_NONBLOCK) < 0 ||
|
||||
pipe2(epipe, O_CLOEXEC | O_NONBLOCK) < 0) {
|
||||
|
||||
Reference in New Issue
Block a user