Fixes a problem with the serial host detection that breaks it on
hosts lacking conmux support.
Risk: Low
Visibility: Internal bugfix.
Signed-off-by: John Admanski <jadmanski@google.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@2036 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/server/hosts/serial.py b/server/hosts/serial.py
index afd875c..a59d741 100644
--- a/server/hosts/serial.py
+++ b/server/hosts/serial.py
@@ -57,7 +57,7 @@
conmux_attach = cls._get_conmux_attach(conmux_attach)
conmux_hostname = cls._get_conmux_hostname(hostname, conmux_server)
cmd = "%s %s echo 2> /dev/null" % (conmux_attach, conmux_hostname)
- result = utils.run(cmd)
+ result = utils.run(cmd, ignore_status=True)
return result.exit_status == 0