diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/lib/oeqa/utils/qemurunner.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/lib/oeqa/utils/qemurunner.py b/meta/lib/oeqa/utils/qemurunner.py index 2cada35d48..4704422211 100644 --- a/meta/lib/oeqa/utils/qemurunner.py +++ b/meta/lib/oeqa/utils/qemurunner.py | |||
@@ -406,7 +406,10 @@ class QemuRunner: | |||
406 | self.qemupid = None | 406 | self.qemupid = None |
407 | self.ip = None | 407 | self.ip = None |
408 | if os.path.exists(self.qemu_pidfile): | 408 | if os.path.exists(self.qemu_pidfile): |
409 | os.remove(self.qemu_pidfile) | 409 | try: |
410 | os.remove(self.qemu_pidfile) | ||
411 | except FileNotFoundError as e: | ||
412 | self.logger.warning('qemu pidfile is no longer present') | ||
410 | if self.monitorpipe: | 413 | if self.monitorpipe: |
411 | self.monitorpipe.close() | 414 | self.monitorpipe.close() |
412 | 415 | ||