From 28b235514aa7a999df71e58b004e077940bc1ce9 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Sun, 13 Mar 2022 12:58:07 +0100 Subject: [PATCH] bundles/zfs: fix compatibility to older zfs versions --- 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 d564c0d..4f1c919 100644 --- a/bundles/zfs/files/zfs-auto-snapshot +++ b/bundles/zfs/files/zfs-auto-snapshot @@ -24,7 +24,7 @@ def list_datasets(): def get_filtered_snapshots_for_dataset(ds): - all_snapshots = check_output(['zfs', 'list', '-H', '-o', 'name', '-t', 'snapshot', ds]).decode('UTF-8').splitlines() + all_snapshots = check_output(['zfs', 'list', '-H', '-o', 'name', '-t', 'snapshot']).decode('UTF-8').splitlines() prefix = '{}@zfs-auto-snap_{}-'.format(ds, label) snapshots = set()