[FIX] Unknown socket fd 49/14249/1
authorVitaliy Cherepanov <v.cherepanov@samsung.com>
Mon, 30 Dec 2013 17:49:04 +0000 (21:49 +0400)
committerVitaliy Cherepanov <v.cherepanov@samsung.com>
Mon, 30 Dec 2013 17:49:04 +0000 (21:49 +0400)
message after "Unknown socket fd" stop

Change-Id: I9ba3ec18efb19773e8c139604d24688cfb4c3eac
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
daemon/daemon.c

index d583815..9260006 100644 (file)
@@ -1027,10 +1027,8 @@ int daemonLoop()
                                                // maybe closed, but ignoring is more safe then
                                                // removing fd from epoll list
                                        } else {
-                                               if (-11 == target_event_handler(manager.efd, k, u)) {
+                                               if (-11 == target_event_handler(manager.efd, k, u))
                                                        LOGI("all target process is closed\n");
-                                                       continue;
-                                               }
                                        }
                                        break;
                                }