Fixed typo in the output code for non tty stdout