summaryrefslogtreecommitdiffstats
path: root/fstab.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 /fstab.py
parent23cad1f520025cefb99555bd66d85883ed0d50db (diff)
downloadanaconda-de45a4f6f39af8a413d7abb18b5b5cd6ca5c8b14.tar.gz
anaconda-de45a4f6f39af8a413d7abb18b5b5cd6ca5c8b14.tar.xz
anaconda-de45a4f6f39af8a413d7abb18b5b5cd6ca5c8b14.zip
don't fail on waitpid failures
Diffstat (limited to 'fstab.py')
-rw-r--r--fstab.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/fstab.py b/fstab.py
index 86343897f..a7f372815 100644
--- a/fstab.py
+++ b/fstab.py
@@ -1223,7 +1223,10 @@ def ext2FormatFilesystem(argList, messageFile, windowCreator, mntpoint):
if (num != 4):
raise IOError, args
- (pid, status) = os.waitpid(childpid, 0)
+ try:
+ (pid, status) = os.waitpid(childpid, 0)
+ except OSError (errno, msg):
+ print __name__, "waitpid:", msg
os.close(fd)
w.pop()