forked from ungleich-public/cdist
forward env
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
parent
6d87f4b917
commit
0a1418f4d3
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ class Remote(object):
|
||||||
cmd = self._exec.split()
|
cmd = self._exec.split()
|
||||||
cmd.append(self.target_host)
|
cmd.append(self.target_host)
|
||||||
cmd.extend(command)
|
cmd.extend(command)
|
||||||
return self.run_command(cmd, env=None)
|
return self.run_command(cmd, env=env)
|
||||||
|
|
||||||
def run_command(self, command, env=None):
|
def run_command(self, command, env=None):
|
||||||
"""Run the given command with the given environment.
|
"""Run the given command with the given environment.
|
||||||
|
|
Loading…
Reference in a new issue