diff options
author | Chris Lumens <clumens@redhat.com> | 2011-08-10 13:08:26 -0400 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2011-08-11 11:49:09 -0400 |
commit | b359e1a011ca71e5431969ae4f12bb847017eaa9 (patch) | |
tree | 5f045c38be9743db1bf93f64fcd310a01980ef18 /pyanaconda/rescue.py | |
parent | a5f2633bc81773bea48713bd18754991aab0ef1b (diff) | |
download | anaconda-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.py | 4 |
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: |