Fix bug 965923 - only trap PIPE if supported
Merge pull request #393 from liggitt/bug_965923_trap_supported_signals

Merged by openshift-bot