summaryrefslogtreecommitdiffstats
path: root/rescue.py
diff options
context:
space:
mode:
authorDavid Cantrell <dcantrell@redhat.com>2008-09-23 21:59:13 -1000
committerDavid Cantrell <dcantrell@redhat.com>2008-09-24 16:09:22 -1000
commit8f49499b277fb0a85738b0b60d8eb2fc320de6ad (patch)
treeca3431c2635de92083a38a0fb59aa812c8a79908 /rescue.py
parent8984a2520ce64535b4c1ff0928b2469e1ae4a077 (diff)
downloadanaconda-8f49499b277fb0a85738b0b60d8eb2fc320de6ad.tar.gz
anaconda-8f49499b277fb0a85738b0b60d8eb2fc320de6ad.tar.xz
anaconda-8f49499b277fb0a85738b0b60d8eb2fc320de6ad.zip
Log error in rescue mode is network.bringUp() fails.
For now just log a message if bringUp() fails.
Diffstat (limited to 'rescue.py')
-rw-r--r--rescue.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/rescue.py b/rescue.py
index 92c89c739..4cec51b5e 100644
--- a/rescue.py
+++ b/rescue.py
@@ -143,7 +143,8 @@ def startNetworking(network, intf):
log.error("Error trying to start lo in rescue.py::startNetworking()")
# start up dhcp interfaces first
- network.bringUp()
+ if not network.bringUp():
+ log.error("Error bringing up network interfaces")
def runShell(screen = None, msg=""):
if screen: