toymaker.git

commit 421bed8598f350db097f36a4aa16267b833f8af3

Author: Adam <git@apiote.xyz>

pass item number to container

 start.sh | 2 +-


diff --git a/start.sh b/start.sh
index a99689ee2000b1ed48eff6a9935bc2b545ac819b..2fb8e20d678dd680f07d4366f7ee89a156b79c02 100644
--- a/start.sh
+++ b/start.sh
@@ -23,7 +23,7 @@ 	mkdir "toys/$toy/$currentItem"
 	rm -r "toys/$toy/.lock"
 
 	(
-	podman run --name "item_${toy}_$item" --rm "toy_$toy" >"/toys/$toy/$currentItem.log" 2>&1
+	podman run --name "item_${toy}_$item" --rm "toy_$toy" "$item" >"toys/$toy/$currentItem.log" 2>&1
 	echo $? >"toys/$toy/$currentItem.exit"
 	) &