diff options
author | Jeremy Katz <katzj@redhat.com> | 2004-09-30 17:26:53 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2004-09-30 17:26:53 +0000 |
commit | 3b62a8225b008415c68753dc8e12da24ade2fec9 (patch) | |
tree | 6339c747a06fa134721d7af25654f57c2919a06a /fsset.py | |
parent | d0eb7dc7db627e7e19bb47e5d1ba21bdf04a82d2 (diff) | |
download | anaconda-3b62a8225b008415c68753dc8e12da24ade2fec9.tar.gz anaconda-3b62a8225b008415c68753dc8e12da24ade2fec9.tar.xz anaconda-3b62a8225b008415c68753dc8e12da24ade2fec9.zip |
2004-09-30 Jeremy Katz <katzj@redhat.com>
* fsset.py (FileSystemSet.makeLVMNodes): Try to fix upgrade
traceback (#134258)
Diffstat (limited to 'fsset.py')
-rw-r--r-- | fsset.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1562,7 +1562,7 @@ MAILADDR root if trylvm1: dev = root.device.getDevice() # lvm1 major is 58 - if posix.major(os.stat("%s/dev/%s" %(instPath, dev)).st_rdev) == 58: + if os.access("%s/dev/%s" %(instPath, dev), os.R_OK) and posix.major(os.stat("%s/dev/%s" %(instPath, dev)).st_rdev) == 58: rootlvm1 = 1 if isinstance(root.device, LogicalVolumeDevice) or rootlvm1: |