From 7d6e061adead1b0384edbf82d984139be54ea3da Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Sat, 26 Oct 2019 11:27:05 +1100 Subject: [PATCH] [client] properly shutdown on failure to connect to the spice server --- VERSION | 2 +- client/src/main.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index e51a4216..8b247e92 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -B1-14-g1d7a2ccf82+1 \ No newline at end of file +B1-15-g66891aa536+1 \ No newline at end of file diff --git a/client/src/main.c b/client/src/main.c index 8d762d92..50ad1f9e 100644 --- a/client/src/main.c +++ b/client/src/main.c @@ -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())