mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
commit
08e3956781
1 changed files with 7 additions and 1 deletions
|
@ -1030,7 +1030,13 @@ class RemoteClient(Client):
|
|||
return
|
||||
|
||||
self._closing = True
|
||||
self.channel.close()
|
||||
channel = None
|
||||
try:
|
||||
channel = self.channel
|
||||
except AttributeError:
|
||||
pass
|
||||
if channel is not None:
|
||||
channel.close()
|
||||
|
||||
def get_file(self,
|
||||
path,
|
||||
|
|
Loading…
Add table
Reference in a new issue