forked from third-party-mirrors/zfs_autobackup
bugfix
This commit is contained in:
parent
9e6d90adfe
commit
dd301dc422
@ -1239,7 +1239,7 @@ class ZfsDataset():
|
|||||||
prev_source_snapshot.destroy()
|
prev_source_snapshot.destroy()
|
||||||
|
|
||||||
# destroy the previous target snapshot if obsolete (usually this is only the common_snapshot, the rest was already destroyed or will not be send)
|
# destroy the previous target snapshot if obsolete (usually this is only the common_snapshot, the rest was already destroyed or will not be send)
|
||||||
prev_target_snapshot=target_dataset.find_snapshot(common_snapshot)
|
prev_target_snapshot=target_dataset.find_snapshot(prev_source_snapshot)
|
||||||
if prev_target_snapshot in target_obsoletes:
|
if prev_target_snapshot in target_obsoletes:
|
||||||
prev_target_snapshot.destroy()
|
prev_target_snapshot.destroy()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user