mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-14 01:58:25 +00:00
[host] app: don't read from UUID if none is returned
This allows the Linux host to start.
This commit is contained in:
parent
b0568ca404
commit
f247d7f0da
@ -581,6 +581,7 @@ static bool newKVMFRData(KVMFRUserData * dst)
|
|||||||
};
|
};
|
||||||
|
|
||||||
const uint8_t * uuid = os_getUUID();
|
const uint8_t * uuid = os_getUUID();
|
||||||
|
if (uuid)
|
||||||
memcpy(vmInfo.uuid, uuid, 16);
|
memcpy(vmInfo.uuid, uuid, 16);
|
||||||
|
|
||||||
strncpy(vmInfo.capture, app.iface->getName(), sizeof(vmInfo.capture) - 1);
|
strncpy(vmInfo.capture, app.iface->getName(), sizeof(vmInfo.capture) - 1);
|
||||||
|
Loading…
Reference in New Issue
Block a user