summaryrefslogtreecommitdiff
path: root/modules/zfssnap/zfssnap.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/zfssnap/zfssnap.py')
-rw-r--r--modules/zfssnap/zfssnap.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/zfssnap/zfssnap.py b/modules/zfssnap/zfssnap.py
index 4e8a4475..6661efd1 100644
--- a/modules/zfssnap/zfssnap.py
+++ b/modules/zfssnap/zfssnap.py
@@ -54,7 +54,7 @@ def _get_items():
54 54
55def prune(config, dry_run, keep_newest): 55def prune(config, dry_run, keep_newest):
56 prunable_snapshots = set() 56 prunable_snapshots = set()
57 args = ['zfs', 'get', '-H', '-p', '-o', 'name,value', '-t', 'snapshot', '-s', 'local' 'li.yggdrasil:is-auto-snapshot'] 57 args = ['zfs', 'get', '-H', '-p', '-o', 'name,value', '-t', 'snapshot', '-s', 'local', 'li.yggdrasil:is-auto-snapshot']
58 _log_cmd(*args) 58 _log_cmd(*args)
59 with subprocess.Popen(args, stdout=subprocess.PIPE) as proc: 59 with subprocess.Popen(args, stdout=subprocess.PIPE) as proc:
60 text_stdout = io.TextIOWrapper(proc.stdout) 60 text_stdout = io.TextIOWrapper(proc.stdout)