Am 08.07.2015 um 11:06 schrieb Florian Gamböck:
I can replicate it 100% when I ssh to another machine and immediately interrupt it with Ctrl-C. I hadn't considered this a bug, but after reading this thread I can confirm that it also happens randomly with other commands. Not sure if there is always interruption involved, though ... Perhaps some problem with forking / spawning a subshell and returning to the "status quo" after a non-zero exit code? Regards, --Flo
As you can replicate it reliable, did you test it in Bourne shell? Maybe its not related to bash at all? ~frukto