Signed-off-by: Hans de Goede <hdegoede@xxxxxxxxxx> --- 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 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel