summary refs log tree commit diff
path: root/src/minutils
diff options
context:
space:
mode:
Diffstat (limited to 'src/minutils')
-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) ;
     }
   }