diff options
author | Jeremy Katz <katzj@redhat.com> | 2003-07-23 20:01:33 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2003-07-23 20:01:33 +0000 |
commit | 172ed6ee26c3936251b92c3897ccef1f4e3cac00 (patch) | |
tree | a4f518718f53812bb2e0d5a5f9fb71ff69fc4e96 | |
parent | ebeecd325d59f039b681225e6b0a08d5a1efa727 (diff) | |
download | anaconda-172ed6ee26c3936251b92c3897ccef1f4e3cac00.tar.gz anaconda-172ed6ee26c3936251b92c3897ccef1f4e3cac00.tar.xz anaconda-172ed6ee26c3936251b92c3897ccef1f4e3cac00.zip |
don't try to make dirs more than once (#100554)
-rw-r--r-- | fsset.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1424,7 +1424,9 @@ class FileSystemSet: searchPath = 1) rootDev = "/dev/%s" % (root.device.getDevice(),) - os.makedirs(instPath + rootDev[:string.rfind(rootDev, "/")]) + rootdir = instPath + rootDev[:string.rfind(rootDev, "/")] + if not os.path.isdir(rootdir): + os.makedirs(rootdir) iutil.copyDeviceNode(rootDev, instPath + rootDev) # raise RuntimeError |