From 08cae9651c668744e7f3d572f070e38d515dc7eb Mon Sep 17 00:00:00 2001 From: Caoruihong Date: Fri, 14 Jun 2024 09:56:35 +0800 Subject: [PATCH] let app exit with real code Signed-off-by: Caoruihong --- common/appspawn_server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/appspawn_server.c b/common/appspawn_server.c index 133d1ab5..1994d30f 100644 --- a/common/appspawn_server.c +++ b/common/appspawn_server.c @@ -42,7 +42,7 @@ static void ProcessExit(int code) #ifdef OHOS_LITE _exit(0x7f); // 0x7f user exit #else - quick_exit(0); + quick_exit(code); #endif } -- Gitee