summaryrefslogtreecommitdiffstats
path: root/upgrade.py
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2001-01-31 20:06:57 +0000
committerMike Fulbright <msf@redhat.com>2001-01-31 20:06:57 +0000
commitc993281f48430e895e371061be71ce61c435d0f9 (patch)
treec3aa934337fcd5a3eebb698f0d7d020457a5a252 /upgrade.py
parent2cca5c1271f07402f5fab1193ff758e6bb562518 (diff)
downloadanaconda-c993281f48430e895e371061be71ce61c435d0f9.tar.gz
anaconda-c993281f48430e895e371061be71ce61c435d0f9.tar.xz
anaconda-c993281f48430e895e371061be71ce61c435d0f9.zip
fix something ewt broke with finding upgrade path
Diffstat (limited to 'upgrade.py')
-rw-r--r--upgrade.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/upgrade.py b/upgrade.py
index cd7d0e18c..0e4b78b5f 100644
--- a/upgrade.py
+++ b/upgrade.py
@@ -77,7 +77,7 @@ def findExistingRoots (intf, theFstab):
win.pop ()
return rootparts
-def mountRootPartition(rootInfo, theFstab, instPath, allowDirty = 0):
+def mountRootPartition(intf, rootInfo, theFstab, instPath, allowDirty = 0):
(root, rootFs) = rootInfo
mdList = raid.startAllRaid(theFstab.driveList())
@@ -97,6 +97,7 @@ def mountRootPartition(rootInfo, theFstab, instPath, allowDirty = 0):
raid.stopAllRaid(mdList)
if not allowDirty and theFstab.hasDirtyFilesystems():
+ import sys
intf.messageWindow(("Dirty Filesystems"),
_("One or more of the filesystems for your Linux system "
"was not unmounted cleanly. Please boot your Linux "