From 8062de3d2cf625bf903517eebc77dab154add19b Mon Sep 17 00:00:00 2001 From: Edwin Eefting Date: Sat, 21 Nov 2015 10:35:30 +0100 Subject: [PATCH] fix --- zfs_autobackup | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zfs_autobackup b/zfs_autobackup index 3356d7f..4755a8f 100755 --- a/zfs_autobackup +++ b/zfs_autobackup @@ -369,6 +369,8 @@ for source_filesystem in source_filesystems: ssh_target=args.ssh_target, target_filesystem=target_filesystem) #update target_snapshot list for later cleanup + if not target_filesystem in target_snapshots: + target_snapshots[target_filesystem]=[] target_snapshots[target_filesystem].append(send_snapshot) latest_target_snapshot=send_snapshot