#!/bin/bash -e # should take more than 25s plus overhead $timeout --kill-after=360s 300s "$MGMT" run --converged-timeout=5 --no-watch --tmp-prefix --no-pgp yaml --yaml graph-fanin-1.yaml & pid=$! wait $pid # get exit status exit $?