[client] properly shutdown on failure to connect to the spice server
This commit is contained in:
1 parent
66891aa536
commit
7d6e061ade
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -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())
|
||||
|
||||
Reference in new issue
Block a user