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 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: