make chutney setup script more portable

This commit is contained in:
trinity-1686a 2023-07-10 18:46:14 +02:00
parent c98894cebc
commit 4fc779faa2
1 changed files with 1 additions and 3 deletions

View File

@ -121,11 +121,9 @@ for idx in $(seq 30); do
# shellcheck disable=SC1091
source tests/chutney/arti.run
pid="${pid:?}"
if [ ! -d "/proc/$pid" ]; then
if ! kill -0 "$pid"; then
result="${result:?}"
echo "Arti failed to start with code $result"
exit 1
fi
done