diff --git a/mitogen/parent.py b/mitogen/parent.py index 23aa0cc9..fad00b49 100644 --- a/mitogen/parent.py +++ b/mitogen/parent.py @@ -70,7 +70,7 @@ else: try: SC_OPEN_MAX = os.sysconf('SC_OPEN_MAX') -except: +except ValueError: SC_OPEN_MAX = 1024 OPENPTY_MSG = (