mirror of
https://github.com/psy0rz/zfs_autobackup.git
synced 2025-04-11 22:40:01 +03:00
fix
This commit is contained in:
parent
eabd740830
commit
3321955d6d
@ -198,6 +198,8 @@ def zfs_get_snapshots(ssh_to, filesystems, backup_name):
|
||||
if ssh_to in test_snapshots:
|
||||
for filesystem in filesystems:
|
||||
if filesystem in test_snapshots[ssh_to]:
|
||||
if not filesystem in ret:
|
||||
ret[filesystem]=[]
|
||||
ret[filesystem].extend(test_snapshots[ssh_to][filesystem])
|
||||
|
||||
return(ret)
|
||||
|
Loading…
x
Reference in New Issue
Block a user