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