From b5f93ceb4882e5d7df6b80d47c9af7c9b969f61e Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Wed, 5 Jan 2022 10:03:54 +0100 Subject: [PATCH] bundles/zfs: fix typo --- bundles/zfs/files/zfs-auto-snapshot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/zfs/files/zfs-auto-snapshot b/bundles/zfs/files/zfs-auto-snapshot index e50514e..1861449 100644 --- a/bundles/zfs/files/zfs-auto-snapshot +++ b/bundles/zfs/files/zfs-auto-snapshot @@ -36,7 +36,7 @@ for line in check_output(['zfs', 'list', '-H', '-o', 'name']).splitlines(): line = line.decode('UTF-8') for prefix in metadata.get('snapshot_never', set()): - if dataset.startswith(prefix): + if line.startswith(prefix): break else: datasets.add(line)