Remove unnecessary make_become_cmd from paramiko exec_command
Fixes #11611
This commit is contained in:
parent
c80d8f9f5b
commit
7a9b5b6fe8
1 changed files with 0 additions and 4 deletions
|
@ -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 = ''
|
||||
|
|
Loading…
Reference in a new issue