[client] properly shutdown on failure to connect to the spice server

This commit is contained in:
Geoffrey McRae committed 2019-10-26 11:27:05 +11:00
1 parent 66891aa536
commit 7d6e061ade
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1 +1 @@
B1-14-g1d7a2ccf82+1
B1-15-g66891aa536+1
+1 -1
View File
@@ -1237,7 +1237,7 @@ int run()
if (!spice_connect(params.spiceHost, params.spicePort, ""))
{
DEBUG_ERROR("Failed to connect to spice server");
return 0;
break;
}
while(state.running && !spice_ready())