summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--vnc.py2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 4242179cf..4f701f26d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-04-20 Chris Lumens <clumens@redhat.com>
+
+ * vnc.py (startVNCServer): Invert logic (#237194).
+
2007-04-20 David Cantrell <dcantrell@redhat.com>
* anaconda.spec: Make anaconda-runtime require genisoimage instead of
diff --git a/vnc.py b/vnc.py
index c6812db0a..179381932 100644
--- a/vnc.py
+++ b/vnc.py
@@ -235,7 +235,7 @@ def startVNCServer(vncpassword="", root='/', vncconnecthost="",
else:
ipstr = ip
- if connxinfo is not None:
+ if connxinfo is None:
connxinfo = "%s:1" % ipstr
else:
connxinfo += " (%s)" % ipstr