mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-17 22:08:35 +00:00
Update qemu_vm.py
This commit is contained in:
parent
5b6011a248
commit
3f7c4c0474
@ -984,7 +984,7 @@ class QemuVM(BaseNode):
|
||||
log.info("QEMU process has stopped, return code: %d", returncode)
|
||||
await self.stop()
|
||||
# A return code of 1 seem fine on Windows
|
||||
if returncode != 0 and (returncode != 1 or not sys.platform.startswith("win")):
|
||||
if returncode != 0 and (not sys.platform.startswith("win") or returncode != 1):
|
||||
self.project.emit("log.error", {"message": "QEMU process has stopped, return code: {}\n{}".format(returncode, self.read_stdout())})
|
||||
|
||||
async def stop(self):
|
||||
|
Loading…
Reference in New Issue
Block a user