diff options
author | Matt Wilson <msw@redhat.com> | 2001-01-18 01:08:17 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2001-01-18 01:08:17 +0000 |
commit | de45a4f6f39af8a413d7abb18b5b5cd6ca5c8b14 (patch) | |
tree | e3bff9046f84c80a930831dda8c51c6f2f599343 /xkb.py | |
parent | 23cad1f520025cefb99555bd66d85883ed0d50db (diff) | |
download | anaconda-de45a4f6f39af8a413d7abb18b5b5cd6ca5c8b14.tar.gz anaconda-de45a4f6f39af8a413d7abb18b5b5cd6ca5c8b14.tar.xz anaconda-de45a4f6f39af8a413d7abb18b5b5cd6ca5c8b14.zip |
don't fail on waitpid failures
Diffstat (limited to 'xkb.py')
-rw-r--r-- | xkb.py | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -46,7 +46,10 @@ class XKB: if (child == 0): os.execv (path[0], path + args) - pid, status = os.waitpid(child, 0) + try: + pid, status = os.waitpid(child, 0) + except OSError (errno, msg): + print __name__, "waitpid:", msg return # don't use any of our code, since it seems to corrupt |