ash: if tcgetattr(stdin) fails, don't mess with tcsetattr