[host] app: don't read from UUID if none is returned
This allows the Linux host to start.
This commit is contained in:
1 parent
b0568ca404
commit
f247d7f0da
1 file changed
+2
-1
+2
-1
@@ -581,7 +581,8 @@ static bool newKVMFRData(KVMFRUserData * dst)
|
||||
};
|
||||
|
||||
const uint8_t * uuid = os_getUUID();
|
||||
memcpy(vmInfo.uuid, uuid, 16);
|
||||
if (uuid)
|
||||
memcpy(vmInfo.uuid, uuid, 16);
|
||||
|
||||
strncpy(vmInfo.capture, app.iface->getName(), sizeof(vmInfo.capture) - 1);
|
||||
|
||||
|
||||
Reference in new issue
Block a user