Allow tcgetattr call to fail as well.
Allow tcgetattr call to fail as well.

This can happen if rshell's stdin is redirected from /dev/null
which is fine if rshell is being used in a non-interactive manner.

dhylands/rshell,dhylands/rshell