Hello, it seems like the following commit introduced a bug. commit cdd2a8c360c70d16804ace7cc923a6c6bb7c9ca9 Author: Sami Kerola <kerolasa@xxxxxx> Date: Wed Apr 4 19:44:04 2012 +0200 term-utils: verify writing to streams was successful Signed-off-by: Sami Kerola <kerolasa@xxxxxx> Before the commit script -e -c "echo" echo $? 0 After the commit script -e -c "echo" echo $? 1 I think what happens is that we first close stderr in dooutput (as timingfd) and then we try to close it again in atexit(close_stdout), causing the error. In fact redirecting timingfd to a file fixes it script -t/tmp/a -e -c "echo" echo $? 0 -- Daniel Narvaez -- 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