[Title] handle a exit value of java
authorgiwoong.kim <giwoong.kim@samsung.com>
Tue, 19 Jun 2012 11:48:58 +0000 (20:48 +0900)
committergiwoong.kim <giwoong.kim@samsung.com>
Tue, 19 Jun 2012 11:48:58 +0000 (20:48 +0900)
[Type]
[Module]
[Priority]
[Jira#]
[Redmine#]
[Problem]
[Cause]
[Solution] If the java process succedds, the return value is nonzero
[TestCase]

tizen/src/skin/maruskin_client.c

index 3d50cb03c506387b26836f77bdf77999bf0c9ca6..50e60c49124a18a30c1b84b6179fb170ac6a7c1f 100644 (file)
@@ -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);