1 From 77922547a2f49e0f285f4361ecf4f4b06b65632f Mon Sep 17 00:00:00 2001
2 From: "S. Gilles" <sgilles@carrastro.com>
3 Date: Sat, 25 Jun 2016 23:36:59 +0000
4 Subject: [PATCH 4/4] do not use WAIT_ANY
8 1 file changed, 1 insertion(+), 1 deletion(-)
10 diff --git a/src/fbterm.cpp b/src/fbterm.cpp
11 index 748f38d..a79c28f 100644
14 @@ -209,7 +209,7 @@ void FbTerm::processSignal(u32 signo)
18 - s32 pid = waitpid(WAIT_ANY, 0, WNOHANG);
19 + s32 pid = waitpid(-1, 0, WNOHANG);
21 FbShellManager::instance()->childProcessExited(pid);