Fix bug
Fix crash when attempting to close a non-existent paramiko SSH connection
This commit is contained in:
parent
252617e4f2
commit
cee4d13837
@ -269,6 +269,7 @@ class Backup:
|
||||
elif count > 1:
|
||||
logger.info('Removed %d backups', count)
|
||||
|
||||
if self._ssh:
|
||||
self._ssh.close()
|
||||
|
||||
def find_last_backup(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user