summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rescue.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/rescue.py b/rescue.py
index f7c6ecde0..7a914de68 100644
--- a/rescue.py
+++ b/rescue.py
@@ -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):