Change in osmo-dev[master]: net/templates/run.sh: refactor kill logic