Add missing to_bytes for cmd.

pull/15204/head
Matt Clay 9 years ago committed by James Cammarata
parent 9d46a16f3f
commit 9d9c0dfa69

@ -220,6 +220,8 @@ class Connection(ConnectionBase):
display.vvv("EXEC %s" % cmd, host=self._play_context.remote_addr)
cmd = to_bytes(cmd, errors='strict')
no_prompt_out = ''
no_prompt_err = ''
become_output = ''

Loading…
Cancel
Save