diff --git a/common/appspawn_server.c b/common/appspawn_server.c index 133d1ab5a6a5b4fe26828abc933c55819bd4d615..1994d30fc574b1943196b0cbf70ba1025ef29346 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 }