diff options
Diffstat (limited to 'modules/zfssnap/zfssnap.py')
-rw-r--r-- | modules/zfssnap/zfssnap.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/zfssnap/zfssnap.py b/modules/zfssnap/zfssnap.py index 346cfbb3..f82810b9 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(await 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: |