[Spice-devel] [linux-vdagent PATCH 01/10] vdagent: Don't try to reconnect when not daemonized

Hans de Goede hdegoede at redhat.com
Wed Mar 6 07:22:37 PST 2013


Signed-off-by: Hans de Goede <hdegoede at redhat.com>
---
 src/vdagent.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/vdagent.c b/src/vdagent.c
index ba199de..0161c7a 100644
--- a/src/vdagent.c
+++ b/src/vdagent.c
@@ -261,7 +261,7 @@ reconnect:
     vdagent_file_xfers_destroy(vdagent_file_xfers);
     vdagent_x11_destroy(x11, client == NULL);
     udscs_destroy_connection(&client);
-    if (!quit)
+    if (!quit && do_daemonize)
         goto reconnect;
 
     return 0;
-- 
1.8.1.4



More information about the Spice-devel mailing list