summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2015-06-14 19:01:07 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2015-06-14 19:01:07 +0000
commitca023c54f5be4093734a5ef99009d9932a6b3453 (patch)
tree1cf5108adaba0b0d8adcc9453aa01ebfb9be419c /src
parent505f396c0bd57182e8a02ed62ecf075438ed2c78 (diff)
downloads6-linux-utils-ca023c54f5be4093734a5ef99009d9932a6b3453.tar.xz
- Fix for s6-uevent-spawner event delay
- rc for 2.0.2.1
Diffstat (limited to 'src')
-rw-r--r--src/minutils/s6-uevent-spawner.c2
1 files changed, 1 insertions, 1 deletions
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) ;
}
}