From: giwoong.kim Date: Tue, 19 Jun 2012 11:48:58 +0000 (+0900) Subject: [Title] handle a exit value of java X-Git-Tag: Tizen_Studio_1.3_Release_p2.3.1~1575 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f4a146ef1ebb54a2ee291a696bf699469bde4639;p=sdk%2Femulator%2Fqemu.git [Title] handle a exit value of java [Type] [Module] [Priority] [Jira#] [Redmine#] [Problem] [Cause] [Solution] If the java process succedds, the return value is nonzero [TestCase] --- diff --git a/tizen/src/skin/maruskin_client.c b/tizen/src/skin/maruskin_client.c index 3d50cb03c5..50e60c4912 100644 --- a/tizen/src/skin/maruskin_client.c +++ b/tizen/src/skin/maruskin_client.c @@ -151,7 +151,7 @@ static void* run_skin_client(void* arg) } INFO("child return value : %d\n", dwRet); - if (dwRet == -1) { + if (dwRet != 0) { //child process is terminated with some problem. //so qemu process will terminate, too. immediately. exit(1); @@ -177,7 +177,7 @@ static void* run_skin_client(void* arg) //The low-order 8 bits are zero if the process exited normally. INFO("child return value : %d\n", ret); - if (ret == 0xff) { + if (ret != 0) { //child process is terminated with some problem. //so qemu process will terminate, too. immediately. exit(1);