incorrect check for open failure in openpty function
[musl] / src / signal / restore.c