summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/zfssnap/zfssnap/zfssnap/__main__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/zfssnap/zfssnap/zfssnap/__main__.py b/modules/zfssnap/zfssnap/zfssnap/__main__.py
index a0eade78..9d07401b 100644
--- a/modules/zfssnap/zfssnap/zfssnap/__main__.py
+++ b/modules/zfssnap/zfssnap/zfssnap/__main__.py
@@ -161,6 +161,7 @@ def prune(config, dry_run, keep_newest, do_exec, exec_newest):
161 logger.debug('exec_candidates=%s', exec_candidates) 161 logger.debug('exec_candidates=%s', exec_candidates)
162 already_execed = set() 162 already_execed = set()
163 for snap in exec_candidates: 163 for snap in exec_candidates:
164 logger.debug('checking for ā€˜%sā€™...', snap.name)
164 args = [] 165 args = []
165 args += shlex.split(check_cmd) 166 args += shlex.split(check_cmd)
166 args += [snap.name] 167 args += [snap.name]
@@ -193,6 +194,7 @@ def prune(config, dry_run, keep_newest, do_exec, exec_newest):
193 logger.debug('exec_count of %d reached', exec_count) 194 logger.debug('exec_count of %d reached', exec_count)
194 break 195 break
195 196
197 logger.info('execing for ā€˜%sā€™...', snap.name)
196 args = [] 198 args = []
197 args += shlex.split(exec_cmd) 199 args += shlex.split(exec_cmd)
198 args += [snap.name] 200 args += [snap.name]