Move up waitpid error check so that errno isn't clobbered by tcsetpgrp.
2 files changed