Fix the redirection so only the error message is emitted.