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).
Showing
Please register or sign in to comment
Solaris (and probably other Unixes) when run without a terminal (eg, from cron or at).