summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-02-20 21:54:26 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2022-02-20 21:54:26 +0100
commitca40c12d51c64b955361f9188a08bcdfd6e06d3b (patch)
tree1207596c19e96e8412d8202452c71c3df9182bd9
parent571edc6d188923258204b1639a751a876583dcab (diff)
downloadnixos-ca40c12d51c64b955361f9188a08bcdfd6e06d3b.tar
nixos-ca40c12d51c64b955361f9188a08bcdfd6e06d3b.tar.gz
nixos-ca40c12d51c64b955361f9188a08bcdfd6e06d3b.tar.bz2
nixos-ca40c12d51c64b955361f9188a08bcdfd6e06d3b.tar.xz
nixos-ca40c12d51c64b955361f9188a08bcdfd6e06d3b.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 2c789318..346cfbb3 100644
--- a/modules/zfssnap/zfssnap.py
+++ b/modules/zfssnap/zfssnap.py
@@ -261,7 +261,7 @@ def autosnap():
261 if not tasks: 261 if not tasks:
262 logger.warning('No snapshots to create') 262 logger.warning('No snapshots to create')
263 else: 263 else:
264 asyncio.run(asyncio.gather(tasks)) 264 asyncio.run(asyncio.gather(*tasks))
265 for snap in all_snap_names: 265 for snap in all_snap_names:
266 logger.info(f'Created ‘{snap}’') 266 logger.info(f'Created ‘{snap}’')
267 if all_snap_names: 267 if all_snap_names: