From ca40c12d51c64b955361f9188a08bcdfd6e06d3b Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 20 Feb 2022 21:54:26 +0100 Subject: zfssnap: ... --- modules/zfssnap/zfssnap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/zfssnap') 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(): if not tasks: logger.warning('No snapshots to create') else: - asyncio.run(asyncio.gather(tasks)) + asyncio.run(asyncio.gather(*tasks)) for snap in all_snap_names: logger.info(f'Created ‘{snap}’') if all_snap_names: -- cgit v1.2.3