From 9c0def42ca27cc7cb609e9630966d7deb975073e Mon Sep 17 00:00:00 2001 From: Edwin Eefting Date: Wed, 30 Dec 2015 17:56:26 +0100 Subject: [PATCH] fix --- zfs_autobackup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zfs_autobackup b/zfs_autobackup index 58c116b..52f1fad 100755 --- a/zfs_autobackup +++ b/zfs_autobackup @@ -374,7 +374,7 @@ for source_filesystem in source_filesystems: #target snapshots that come BEFORE last target snapshot are obsolete latest_target_index=target_snapshots[target_filesystem].index(latest_target_snapshot) - target_obsolete_snapshots[target_filesystem]=target_snapshots[target_filesystem][0:latest_source_index] + target_obsolete_snapshots[target_filesystem]=target_snapshots[target_filesystem][0:latest_target_index] else: #initial mode, send all snapshots, nothing is obsolete: latest_target_snapshot=None