Skip to content

Commit

Permalink
Fix extend_path() to extend_env().
Browse files Browse the repository at this point in the history
Commit d8b8eba changed extend_path() to extend_env(), but missed a
spot. This fixes it.

Signed-off-by: Chris Dunlop <chris@onthe.net.au>
  • Loading branch information
chrisrd committed Sep 11, 2018
1 parent 99f8b86 commit 9f52696
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion remoto/process.py
Expand Up @@ -160,7 +160,7 @@ def check(conn, command, exit=False, timeout=None, **kw):
if not kw.get('env'):
# get the remote environment's env so we can explicitly add
# the path without wiping out everything
kw = extend_path(conn, kw)
kw = extend_env(conn, kw)

conn.logger.info('Running command: %s' % ' '.join(admin_command(conn.sudo, command)))
result = conn.execute(_remote_check, cmd=command, **kw)
Expand Down

0 comments on commit 9f52696

Please sign in to comment.