From ca023c54f5be4093734a5ef99009d9932a6b3453 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sun, 14 Jun 2015 19:01:07 +0000 Subject: - Fix for s6-uevent-spawner event delay - rc for 2.0.2.1 --- src/minutils/s6-uevent-spawner.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/minutils') diff --git a/src/minutils/s6-uevent-spawner.c b/src/minutils/s6-uevent-spawner.c index 40f088e..f9dc481 100644 --- a/src/minutils/s6-uevent-spawner.c +++ b/src/minutils/s6-uevent-spawner.c @@ -228,7 +228,7 @@ int main (int argc, char const *const *argv, char const *const *envp) strerr_diefu1x(111, "iopause: trouble with selfpipe") ; if (x[0].revents & IOPAUSE_READ) handle_signals() ; - else if (!pid && cont && (x[1].revents & IOPAUSE_READ)) + if (cont && x[1].revents & IOPAUSE_READ || buffer_len(buffer_0)) handle_stdin(&sa, linevar, argv, envp) ; } } -- cgit v1.2.3