From f8a0faa08f5f4ecfa65e31aa120e9f5577634561 Mon Sep 17 00:00:00 2001 From: Natan Keddem Date: Sat, 4 Nov 2023 00:00:33 -0400 Subject: [PATCH] made zfs prop handling more generic --- snapper/interfaces/zfs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snapper/interfaces/zfs.py b/snapper/interfaces/zfs.py index f231316..f8f9d88 100644 --- a/snapper/interfaces/zfs.py +++ b/snapper/interfaces/zfs.py @@ -118,7 +118,7 @@ class Zfs: matches = re.match("^(?P[^\t]+)\t(?P[^\t]+)\t(?P[^\t]+)\t(?P[^\n]+)", line) if matches is not None: md = matches.groupdict() - if md["property"] == prop and (md["value"] == "true" or md["value"] == "parent") and md["source"] == "local": + if md["property"] == prop and md["source"] == "local": filesystems.append(md["name"]) result = Result(data=filesystems, cached=False) return result