summaryrefslogtreecommitdiffstats
path: root/pyanaconda/rescue.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2011-08-10 13:08:26 -0400
committerChris Lumens <clumens@redhat.com>2011-08-11 11:49:09 -0400
commitb359e1a011ca71e5431969ae4f12bb847017eaa9 (patch)
tree5f045c38be9743db1bf93f64fcd310a01980ef18 /pyanaconda/rescue.py
parenta5f2633bc81773bea48713bd18754991aab0ef1b (diff)
downloadanaconda-b359e1a011ca71e5431969ae4f12bb847017eaa9.tar.gz
anaconda-b359e1a011ca71e5431969ae4f12bb847017eaa9.tar.xz
anaconda-b359e1a011ca71e5431969ae4f12bb847017eaa9.zip
Remove as many of the /selinux path hardcodings as possible (#729563).
Convert the others to their proper new path.
Diffstat (limited to 'pyanaconda/rescue.py')
-rw-r--r--pyanaconda/rescue.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyanaconda/rescue.py b/pyanaconda/rescue.py
index 1e71dd650..af564e4cd 100644
--- a/pyanaconda/rescue.py
+++ b/pyanaconda/rescue.py
@@ -399,8 +399,8 @@ def doRescue(anaconda):
except StorageError:
log.error("Error enabling swap")
- # and /selinux too
- if flags.selinux and os.path.isdir("%s/selinux" %(anaconda.rootPath,)):
+ # and selinux too
+ if flags.selinux:
# we have to catch the possible exception
# because we support read-only mounting
try: