summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2007-04-20 14:48:48 +0000
committerChris Lumens <clumens@redhat.com>2007-04-20 14:48:48 +0000
commit65a079534d354d75fd4cc4e70aea745e01e8c04f (patch)
treea37524e7cfa59fcda77022c2dfce72163ad30c9d
parent91f199458a449d13b875fde8ad4ecd9ad4165ec3 (diff)
downloadanaconda-65a079534d354d75fd4cc4e70aea745e01e8c04f.tar.gz
anaconda-65a079534d354d75fd4cc4e70aea745e01e8c04f.tar.xz
anaconda-65a079534d354d75fd4cc4e70aea745e01e8c04f.zip
Invert logic (#237194).
-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