Sophie

Sophie

distrib > Mandriva > 2009.1 > x86_64 > media > contrib-backports-src > by-pkgid > 2f56857ddefa94e37dc346b2a897cdcf > files > 2

virt-manager-0.7.0-3mdv2009.1.src.rpm


From: =?utf-8?q?Guido=20G=C3=BCnther?= <agx@sigxcpu.org>
Date: Thu, 16 Apr 2009 14:32:45 +0200
Subject: [PATCH] close nc connection on EOF

Closes: #519979, #521137
---
 src/virtManager/details.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/virtManager/details.py b/src/virtManager/details.py
index 6d43e7a..e838552 100644
--- a/src/virtManager/details.py
+++ b/src/virtManager/details.py
@@ -1233,7 +1233,7 @@ class vmmDetails(gobject.GObject):
             argv = ["ssh", "ssh", "-p", sshport]
             if username:
                 argv += ['-l', username]
-            argv += [ server, "nc", vncaddr, str(vncport) ]
+            argv += [ server, "nc", "-q", "0", vncaddr, str(vncport) ]
             os.execlp(*argv)
             os._exit(1)
         else:
--