diff options
author | Erik Troan <ewt@redhat.com> | 2000-02-21 16:43:56 +0000 |
---|---|---|
committer | Erik Troan <ewt@redhat.com> | 2000-02-21 16:43:56 +0000 |
commit | 8023f5e979b0194002de8cf20d9b3445fd12d0d6 (patch) | |
tree | c8e1d658847eff57354949a1c12d88d1c8b37093 | |
parent | a9f2267d7eca7dcf37ae11426c304584060c6208 (diff) | |
download | anaconda-8023f5e979b0194002de8cf20d9b3445fd12d0d6.tar.gz anaconda-8023f5e979b0194002de8cf20d9b3445fd12d0d6.tar.xz anaconda-8023f5e979b0194002de8cf20d9b3445fd12d0d6.zip |
Wasn't closing fstab properly
-rw-r--r-- | textw/partitioning.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/textw/partitioning.py b/textw/partitioning.py index 7a7d15418..0a571a834 100644 --- a/textw/partitioning.py +++ b/textw/partitioning.py @@ -64,12 +64,12 @@ class ManualPartitionWindow: (_("Back"), "back") ], width = 50) if button != "done" and button != "back": - haveEdited = 1 # free our fd's to the hard drive -- we have to # fstab.rescanDrives() after this or bad things happen! if not haveEdited: - todo.fstab.closeDrives() todo.fstab.setReadonly(1) + todo.fstab.closeDrives() + haveEdited = 1 device = driveNames[choice] screen.suspend () if os.access("/sbin/fdisk", os.X_OK): |