Fix a mistake in termios disabling.