diff --git a/rootfs/usr/local/etc/docker/init.d/zz-act_runner.sh b/rootfs/usr/local/etc/docker/init.d/zz-act_runner.sh index 760e4b9..ce8b4c2 100755 --- a/rootfs/usr/local/etc/docker/init.d/zz-act_runner.sh +++ b/rootfs/usr/local/etc/docker/init.d/zz-act_runner.sh @@ -369,7 +369,7 @@ __post_execute() { if [ -n "$multi" ] && [ -d "$multi" ]; then unset pid is_running name name="$(basename "$multi")" - if [ -f "$$multi/$name.yaml" ] && [ -f "$multi/runners" ]; then + if [ -f "$multi/$name.yaml" ] && [ -f "$multi/runners" ]; then act_runner daemon --config $multi/$name.yaml & local pid=$! sleep 5 && ps ax | awk '{print $1}' | grep -v grep | grep -q "$pid$" && is_running="yes"