summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-02-24 13:45:15 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2022-02-24 13:45:15 +0100
commit705994410f74d8d80dad0e1ed8d7a76e2e738f05 (patch)
tree75678a5e140755558254f2eaf71ff43e5013f38b
parent4de6acd7756947819d5a0e56197c8372ac62f1b4 (diff)
downloadnixos-705994410f74d8d80dad0e1ed8d7a76e2e738f05.tar
nixos-705994410f74d8d80dad0e1ed8d7a76e2e738f05.tar.gz
nixos-705994410f74d8d80dad0e1ed8d7a76e2e738f05.tar.bz2
nixos-705994410f74d8d80dad0e1ed8d7a76e2e738f05.tar.xz
nixos-705994410f74d8d80dad0e1ed8d7a76e2e738f05.zip
zfssnap: ...
-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 7055f308..360d7f25 100644
--- a/modules/zfssnap/zfssnap.py
+++ b/modules/zfssnap/zfssnap.py
@@ -213,7 +213,7 @@ def autosnap():
213 items = _get_items() 213 items = _get_items()
214 214
215 all_snap_names = set() 215 all_snap_names = set()
216 async def do_snapshot(*snap_items, recursive=False): 216 def do_snapshot(*snap_items, recursive=False):
217 nonlocal items, all_snap_names 217 nonlocal items, all_snap_names
218 snap_names = {_snap_name(item) for item in snap_items} 218 snap_names = {_snap_name(item) for item in snap_items}
219 if recursive: 219 if recursive: