about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAndinus <andinus@nand.sh>2021-11-04 15:47:02 +0530
committerAndinus <andinus@nand.sh>2021-11-04 15:47:02 +0530
commit9fededa37f0788e20ecb0c94dd4952ceed3b83a7 (patch)
tree7292ab4adf35f76955714568bcd329da0289d0c3
parentddb0440966625b0f3494de0f910706c96bd4375f (diff)
downloadfornax-9fededa37f0788e20ecb0c94dd4952ceed3b83a7.tar.gz
Wait for jobs to finish before creating the slideshow
-rw-r--r--lib/Fornax/CLI.rakumod2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Fornax/CLI.rakumod b/lib/Fornax/CLI.rakumod
index 43a5fe3..0bd3d54 100644
--- a/lib/Fornax/CLI.rakumod
+++ b/lib/Fornax/CLI.rakumod
@@ -145,6 +145,8 @@ multi sub MAIN(
             }
         }
     }
+    # Wait for remaining jobs to finish.
+    await @p;
 
     put "[fornax] Generated images." if $verbose;