Commit 7a9b5b6f by James Cammarata

Remove unnecessary make_become_cmd from paramiko exec_command

Fixes #11611
parent c80d8f9f
......@@ -217,10 +217,6 @@ class Connection(ConnectionBase):
self._display.vvv("EXEC %s" % cmd, host=self._connection_info.remote_addr)
if sudoable:
cmd, self.prompt, self.success_key = self._connection_info.make_become_cmd(cmd)
no_prompt_out = ''
no_prompt_err = ''
become_output = ''
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment