This is a bug which has been known for some years, and which the Debian maintainer has refused to fix without an OK from upstream. There's a patch attached to the Debian bug, which would solve the problem quite easily.
I'm in favour of fixing the bug, but it's possible that by now people are expecting timeout to behave in the broken way. So, I'm going to take this bug on, run it past upstream, and fix either the program or the documentation depending on what they say. ** Bug watch added: Debian Bug tracker #187092 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=187092 ** Also affects: tct (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=187092 Importance: Unknown Status: Unknown ** Changed in: tct (Ubuntu) Assignee: (unassigned) => Dan O'Huiginn Status: Confirmed => In Progress -- /usr/bin/timeout doesn't reflect exit code of launched commandline https://launchpad.net/bugs/78742 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs