dpu-utilities/0003-fix-a-rexec_server-bug-on-child-process.patch
Weifeng Su fe851cd555 Sync patches from source
The change in patches:
1. Fix cache issue when recreate file
2. Introduce CMAKE to build userspace apps
3. CleanCode

Signed-off-by: Weifeng Su <suweifeng1@huawei.com>
2023-06-12 08:24:22 +00:00

27 lines
663 B
Diff

From 754345d6dffc581e81670f4d1b18396003349a18 Mon Sep 17 00:00:00 2001
From: liqiang <liqiang64@huawei.com>
Date: Mon, 5 Jun 2023 17:24:10 +0800
Subject: fix a rexec_server bug on child process
Signed-off-by: liqiang <liqiang64@huawei.com>
---
qtfs/rexec/rexec_server.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/qtfs/rexec/rexec_server.c b/qtfs/rexec/rexec_server.c
index 2aa3275..bdc6ea4 100644
--- a/qtfs/rexec/rexec_server.c
+++ b/qtfs/rexec/rexec_server.c
@@ -431,7 +431,7 @@ err_to_parent:
write(pipefd[PIPE_WRITE], &errpid, sizeof(int));
} while (0);
- return ret;
+ exit(0);
}
// 道生一
--
2.33.0