moved the logging statement
moved the logging statement before the actual action
This commit is contained in:
parent
d958440bcb
commit
db08ff6dbd
1 changed files with 1 additions and 1 deletions
|
@ -894,9 +894,9 @@ class Connection(ConnectionBase):
|
|||
cmd = map(to_bytes, self._build_command(self._play_context.ssh_executable, '-O', 'stop', self.host))
|
||||
controlpersist, controlpath = self._persistence_controls(cmd)
|
||||
if controlpersist:
|
||||
display.vvv(u'sending stop: %s' % cmd)
|
||||
p = subprocess.Popen(cmd, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||
stdout, stderr = p.communicate()
|
||||
display.vvv(u'sending stop: %s' % cmd)
|
||||
|
||||
self.close()
|
||||
|
||||
|
|
Loading…
Reference in a new issue