Move the check for openpty to the beginning.
1 file changed