make chutney setup script more portable
This commit is contained in:
parent
c98894cebc
commit
4fc779faa2
|
@ -121,11 +121,9 @@ for idx in $(seq 30); do
|
||||||
# shellcheck disable=SC1091
|
# shellcheck disable=SC1091
|
||||||
source tests/chutney/arti.run
|
source tests/chutney/arti.run
|
||||||
pid="${pid:?}"
|
pid="${pid:?}"
|
||||||
if [ ! -d "/proc/$pid" ]; then
|
if ! kill -0 "$pid"; then
|
||||||
result="${result:?}"
|
result="${result:?}"
|
||||||
echo "Arti failed to start with code $result"
|
echo "Arti failed to start with code $result"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue