diff options
author | Martin Sivak <msivak@redhat.com> | 2009-08-04 13:45:31 +0200 |
---|---|---|
committer | Martin Sivak <msivak@redhat.com> | 2009-08-04 13:45:31 +0200 |
commit | a2bbd30d46dbb68d6fa51bc8a55eec2f28976963 (patch) | |
tree | 3a50c0468f86373d48182e4945876762fdec9879 | |
parent | dc8c30f746c0d8b794917fe6d45f5130e47d1427 (diff) | |
download | anaconda-a2bbd30d46dbb68d6fa51bc8a55eec2f28976963.tar.gz anaconda-a2bbd30d46dbb68d6fa51bc8a55eec2f28976963.tar.xz anaconda-a2bbd30d46dbb68d6fa51bc8a55eec2f28976963.zip |
Fix some typos in rescue mode (#515091)
-rw-r--r-- | rescue.py | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -130,15 +130,15 @@ def makeMtab(instPath, fsset): f.close() def makeFStab(instPath = ""): - if os.access("/etc/mtab", os.R_OK): - f = open("/etc/mtab" %(instPath,), "r") + if os.access("/proc/mounts", os.R_OK): + f = open("/proc/mounts", "r") buf = f.read() f.close() else: buf = "" try: - f = open(instPath + "/etc/fstab", "w+") + f = open(instPath + "/etc/fstab", "a") if buf: f.write(buf) f.close() @@ -203,7 +203,7 @@ def runShell(screen = None, msg=""): proc = None if os.path.exists("/usr/bin/firstaidkit-qs") and os.path.exists("/usr/bin/dialog"): - proc = subprocess.Popen(["/bin/firstaidkit-qs"]) + proc = subprocess.Popen(["/usr/bin/firstaidkit-qs"]) proc.wait() if proc is None or proc.returncode!=0: |