Description: This patch ignores the SIGCHLD event, so that kernel can
reap the child process automatically so that process table is properly updated.
Change-Id: I09283dbee630359a5daa5c2d25f97a65ac6dda3e
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
Name: stc-manager
Summary: STC(Smart Traffic Control) manager
-Version: 0.0.17
+Version: 0.0.18
Release: 0
Group: Network & Connectivity/Other
License: Apache-2.0
* limitations under the License.
*/
+#include <signal.h>
#include "stc-manager.h"
#include "stc-emulator.h"
#include "stc-statistics.h"
GMainLoop *main_loop = NULL;
gint32 ret = -1;
+ signal(SIGCHLD, SIG_IGN);
+
STC_LOGI("Smart Traffic Control Manager");
if (daemon(0, 0) != 0)