mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-10 08:38:20 +00:00
[client] main: move checkUUID to after informational prints are done
This change makes the client print the check failure as the last thing before disconnecting making it more obvious to the user.
This commit is contained in:
parent
8cdeaceed9
commit
c20bb27b67
@ -847,7 +847,6 @@ static void checkUUID(void)
|
||||
return;
|
||||
|
||||
DEBUG_ERROR("UUIDs do not match, you have connected SPICE to the wrong guest");
|
||||
DEBUG_ERROR("Shutting down");
|
||||
g_state.state = APP_STATE_SHUTDOWN;
|
||||
}
|
||||
|
||||
@ -1359,7 +1358,6 @@ restart:
|
||||
|
||||
memcpy(g_state.guestUUID, vmInfo->uuid, sizeof(g_state.guestUUID));
|
||||
g_state.guestUUIDValid = true;
|
||||
checkUUID();
|
||||
break;
|
||||
}
|
||||
|
||||
@ -1395,8 +1393,10 @@ restart:
|
||||
udataSize -= record->size;
|
||||
}
|
||||
|
||||
DEBUG_INFO("Host ready, reported version: %s", udata->hostver);
|
||||
DEBUG_INFO("Starting session");
|
||||
checkUUID();
|
||||
|
||||
if (g_state.state == APP_STATE_RUNNING)
|
||||
DEBUG_INFO("Starting session");
|
||||
|
||||
g_state.kvmfrFeatures = udata->features;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user