summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-02-19 22:48:17 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2022-02-19 22:48:17 +0100
commit0a88e342bf3406f206369156286f74cc03c37b1b (patch)
tree7d396a7a96c4f17fe7a865164f8db05837c72093 /modules
parent09a5bbeebf3cfded81e19186222c7993e82cdf1e (diff)
downloadnixos-0a88e342bf3406f206369156286f74cc03c37b1b.tar
nixos-0a88e342bf3406f206369156286f74cc03c37b1b.tar.gz
nixos-0a88e342bf3406f206369156286f74cc03c37b1b.tar.bz2
nixos-0a88e342bf3406f206369156286f74cc03c37b1b.tar.xz
nixos-0a88e342bf3406f206369156286f74cc03c37b1b.zip
zfssnap: ...
Diffstat (limited to 'modules')
-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)