diff options
| -rw-r--r-- | meta/lib/oeqa/core/target/ssh.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oeqa/core/target/ssh.py b/meta/lib/oeqa/core/target/ssh.py index f956a7744f..7a10ba9763 100644 --- a/meta/lib/oeqa/core/target/ssh.py +++ b/meta/lib/oeqa/core/target/ssh.py | |||
| @@ -78,7 +78,7 @@ class OESSHTarget(OETarget): | |||
| 78 | 78 | ||
| 79 | return (status, output) | 79 | return (status, output) |
| 80 | 80 | ||
| 81 | def run(self, command, timeout=None): | 81 | def run(self, command, timeout=None, ignore_status=True): |
| 82 | """ | 82 | """ |
| 83 | Runs command in target. | 83 | Runs command in target. |
| 84 | 84 | ||
| @@ -97,7 +97,7 @@ class OESSHTarget(OETarget): | |||
| 97 | else: | 97 | else: |
| 98 | processTimeout = self.timeout | 98 | processTimeout = self.timeout |
| 99 | 99 | ||
| 100 | status, output = self._run(sshCmd, processTimeout, True) | 100 | status, output = self._run(sshCmd, processTimeout, ignore_status) |
| 101 | self.logger.debug('Command: %s\nStatus: %d Output: %s\n' % (command, status, output)) | 101 | self.logger.debug('Command: %s\nStatus: %d Output: %s\n' % (command, status, output)) |
| 102 | if (status == 255) and (('No route to host') in output): | 102 | if (status == 255) and (('No route to host') in output): |
| 103 | if self.monitor_dumper: | 103 | if self.monitor_dumper: |
