summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/lib/oeqa/utils/qemurunner.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/utils/qemurunner.py b/meta/lib/oeqa/utils/qemurunner.py
index c025eb09c5..60e1cf8e08 100644
--- a/meta/lib/oeqa/utils/qemurunner.py
+++ b/meta/lib/oeqa/utils/qemurunner.py
@@ -242,8 +242,8 @@ class QemuRunner:
242 self.logger.debug("qemu started in %s seconds - qemu procces pid is %s (%s)" % 242 self.logger.debug("qemu started in %s seconds - qemu procces pid is %s (%s)" %
243 (time.time() - (endtime - self.runqemutime), 243 (time.time() - (endtime - self.runqemutime),
244 self.qemupid, time.strftime("%D %H:%M:%S"))) 244 self.qemupid, time.strftime("%D %H:%M:%S")))
245 cmdline = ''
245 if get_ip: 246 if get_ip:
246 cmdline = ''
247 with open('/proc/%s/cmdline' % self.qemupid) as p: 247 with open('/proc/%s/cmdline' % self.qemupid) as p:
248 cmdline = p.read() 248 cmdline = p.read()
249 # It is needed to sanitize the data received 249 # It is needed to sanitize the data received