summaryrefslogtreecommitdiffstats
path: root/anaconda
diff options
context:
space:
mode:
Diffstat (limited to 'anaconda')
-rwxr-xr-xanaconda8
1 files changed, 5 insertions, 3 deletions
diff --git a/anaconda b/anaconda
index 575b0af94..2330dd4d1 100755
--- a/anaconda
+++ b/anaconda
@@ -348,6 +348,11 @@ try:
serial = serial, reconfigOnly = reconfigOnly, test = test,
extraModules = extraModules)
intf.run(todo, test = test)
+
+ if not todo.reconfigOnly:
+ todo.fstab.umountFilesystems(rootPath, ignoreErrors = 1)
+except SystemExit, code:
+ intf.shutdown()
except:
(type, value, tb) = sys.exc_info()
from string import joinfields
@@ -360,7 +365,4 @@ except:
pdb.post_mortem (tb)
os._exit (1)
-if not todo.reconfigOnly:
- todo.fstab.umountFilesystems(rootPath, ignoreErrors = 1)
-
del intf