diff options
author | Chris Lumens <clumens@redhat.com> | 2006-08-11 15:55:23 +0000 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2006-08-11 15:55:23 +0000 |
commit | 65134b5601ec9e32051c234269fb5668be922c2a (patch) | |
tree | 4ea2048d479df00b2d93dab7ad37d5a8f0557c93 /vnc.py | |
parent | 8ca874078b4a7d1b7da006e69a1076fd9973fe9b (diff) | |
download | anaconda-65134b5601ec9e32051c234269fb5668be922c2a.tar.gz anaconda-65134b5601ec9e32051c234269fb5668be922c2a.tar.xz anaconda-65134b5601ec9e32051c234269fb5668be922c2a.zip |
Look for the right string to indicate failure.
Diffstat (limited to 'vnc.py')
-rw-r--r-- | vnc.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -14,6 +14,7 @@ # import os, sys, string +import time from snack import * from constants_text import * from rhpl.translate import _, N_ @@ -290,7 +291,7 @@ def startVNCServer(vncpassword="", root='/', vncconnecthost="", if output == "": stdoutLog.info(_("Connected!")) break - elif output.startswith("connecting") and output.endswith("failed"): + elif output.startswith("connecting") and output.endswith("failed\n"): ntries += 1 if ntries > 50: stdoutLog.error(_("Giving up attempting to connect after 50 tries!\n")) |