diff options
author | Jeremy Katz <katzj@redhat.com> | 2004-07-09 15:06:59 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2004-07-09 15:06:59 +0000 |
commit | 2859428a3bc3177c6b8c030252b51d5563fdadd8 (patch) | |
tree | 79784f3da61d4bfd827a0e0582127427afc845d7 | |
parent | bfb905cf581a4095b6a5f662e9db712e1d45cb73 (diff) | |
download | anaconda-2859428a3bc3177c6b8c030252b51d5563fdadd8.tar.gz anaconda-2859428a3bc3177c6b8c030252b51d5563fdadd8.tar.xz anaconda-2859428a3bc3177c6b8c030252b51d5563fdadd8.zip |
don't traceback if we fail to create symlinks for rescue mode stuff
(#127530)
-rw-r--r-- | rescue.py | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -164,7 +164,10 @@ def runRescue(instPath, mountroot, id): for file in [ "services", "protocols", "group", "joe", "man.config", "nsswitch.conf", "selinux" ]: - os.symlink('/mnt/runtime/etc/' + file, '/etc/' + file) + try: + os.symlink('/mnt/runtime/etc/' + file, '/etc/' + file) + except: + pass # see if they would like networking enabled if not methodUsesNetworking(id.methodstr): |