diff --git a/devlib/target.py b/devlib/target.py index 9d7f282..a7deca2 100644 --- a/devlib/target.py +++ b/devlib/target.py @@ -283,10 +283,6 @@ class Target(object): # execution - def _execute_util(self, command, timeout=None, check_exit_code=True, as_root=False): - command = '{} {}'.format(self.shutils, command) - return self.conn.execute(command, timeout, check_exit_code, as_root) - def execute(self, command, timeout=None, check_exit_code=True, as_root=False): return self.conn.execute(command, timeout, check_exit_code, as_root) @@ -558,6 +554,10 @@ class Target(object): # internal methods + def _execute_util(self, command, timeout=None, check_exit_code=True, as_root=False): + command = '{} {}'.format(self.shutils, command) + return self.conn.execute(command, timeout, check_exit_code, as_root) + def _extract_archive(self, path, cmd, dest=None): cmd = '{} ' + cmd # busybox if dest: