On Thu, Jul 02, 2015 at 02:03:21AM +0200, Ruediger Meier wrote: > 25708: script: IO: master fd: 3 > 25708: script: SIGNAL: signal fd=5 > 25708: script: POLL: calling poll() > 25708: script: POLL: poll() rc=1 > 25708: script: POLL: active pfd[stdin].fd=0 POLLIN > 25708: script: IO: 0 FD active > 25708: script: POLL: calling poll() > 25708: script: POLL: poll() rc=1 > 25708: script: POLL: active pfd[stdin].fd=0 POLLIN > 25708: script: IO: 0 FD active > 25708: script: POLL: calling poll() > 25708: script: POLL: poll() rc=1 > 25708: script: POLL: active pfd[stdin].fd=0 POLLIN > 25708: script: IO: 0 FD active > 25708: script: POLL: calling poll() > 25708: script: POLL: poll() rc=1 > 25708: script: POLL: active pfd[stdin].fd=0 POLLIN > 25708: script: IO: 0 FD active > 25708: script: POLL: calling poll() > 25708: script: POLL: poll() rc=1 It seems that handle_io() is not able to detect EOF, I have pushed a commit that makes sure errno is zero (I guess it's the problem). Please, try it. Thanks. Karel -- Karel Zak <kzak@xxxxxxxxxx> http://karelzak.blogspot.com -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html