summaryrefslogtreecommitdiffstats
path: root/xkb.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2001-01-18 01:08:17 +0000
committerMatt Wilson <msw@redhat.com>2001-01-18 01:08:17 +0000
commitde45a4f6f39af8a413d7abb18b5b5cd6ca5c8b14 (patch)
treee3bff9046f84c80a930831dda8c51c6f2f599343 /xkb.py
parent23cad1f520025cefb99555bd66d85883ed0d50db (diff)
downloadanaconda-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.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/xkb.py b/xkb.py
index c0d2e878c..74efa29bd 100644
--- a/xkb.py
+++ b/xkb.py
@@ -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