Skip the ioctl test if we can't open /dev/tty.  This happens on
Solaris (and probably other Unixes) when run without a terminal
(eg, from cron or at).
1 file changed